Skip to content

Commit 94f09d8

Browse files
committed
no wrap
1 parent 8c044ac commit 94f09d8

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

components/ChatLine.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,14 @@ export function ChatLine({ role = 'assistant', content }: ChatGPTMessage) {
5151
return (
5252
<div
5353
className={
54-
role != 'assistant' ? 'float-right clear-both' : 'float-left clear-both'
54+
// role != 'assistant' ? 'float-right clear-both' : 'float-left clear-both'
55+
role != 'assistant' ? '' : ''
5556
}
5657
>
57-
<BalancerWrapper>
58-
<div className="float-right mb-5 rounded-lg bg-white px-4 py-5 shadow-lg ring-1 ring-zinc-100 sm:px-6">
59-
<div className="flex space-x-3">
60-
<div className="flex-1 gap-4">
58+
<div>
59+
<div className="mb-5 rounded-lg bg-white px-4 py-5 shadow-lg ring-1 ring-zinc-100 sm:px-6">
60+
<div className="space-x-3">
61+
<div className="gap-4">
6162
<p className="font-large text-xxl text-gray-900">
6263
<a href="#" className="hover:underline">
6364
{role == 'assistant' ? 'AI' : 'You'}
@@ -74,7 +75,7 @@ export function ChatLine({ role = 'assistant', content }: ChatGPTMessage) {
7475
</div>
7576
</div>
7677
</div>
77-
</BalancerWrapper>
78+
</div>
7879
</div>
7980
)
8081
}

0 commit comments

Comments
 (0)