Skip to content

Commit a1fcd63

Browse files
committed
fix: stop messages pane from taking over whole screen
Signed-off-by: Donnie Adams <[email protected]>
1 parent 0bdee03 commit a1fcd63

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

app/page.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ function RunFile() {
3333
>
3434
<div className="w-full h-full flex pb-10">
3535
<Threads />
36-
<Script enableThreads showAssistantName className="w-[75%] pb-10" />
36+
<div className="mx-auto w-[75%] 2xl:w-[55%] 3xl:[w-50%]">
37+
<Script enableThreads showAssistantName className="px-4 pb-10" />
38+
</div>
3739
</div>
3840
</div>
3941
</section>

components/script/chatBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const ChatBar = ({ disabled = false, onMessageSent }: ChatBarProps) => {
9696
}
9797

9898
return (
99-
<div className="flex px-4 space-x-2 sw-full mx-auto 2xl:w-[75%]">
99+
<div className="flex px-4 space-x-2 sw-full">
100100
<Button
101101
isIconOnly
102102
startContent={<GoKebabHorizontal />}

components/script/messages.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ const Messages = ({
163163
noAvatar?: boolean;
164164
restart?: () => void;
165165
}) => (
166-
<div className="mx-auto px-6 2xl:w-[75%]">
166+
<div>
167167
{messages.map((message, index) => (
168168
<Message
169169
key={index}

0 commit comments

Comments
 (0)