Spaces:
Sleeping
Sleeping
Commit
·
76a5b74
1
Parent(s):
38448fc
revert wrong
Browse files- components/chat/index.tsx +2 -11
components/chat/index.tsx
CHANGED
@@ -19,17 +19,8 @@ export function Chat({ chat }: ChatProps) {
|
|
19 |
|
20 |
return (
|
21 |
<>
|
22 |
-
<div className={cn('pb-[
|
23 |
-
<div className="
|
24 |
-
<Image
|
25 |
-
draggable={false}
|
26 |
-
src={url}
|
27 |
-
alt={url}
|
28 |
-
fill
|
29 |
-
className="object-contain"
|
30 |
-
/>
|
31 |
-
</div>
|
32 |
-
<div className="overflow-auto">
|
33 |
<ChatList messages={messages} />
|
34 |
<ChatScrollAnchor trackVisibility={isLoading} />
|
35 |
</div>
|
|
|
19 |
|
20 |
return (
|
21 |
<>
|
22 |
+
<div className={cn('pb-[250px] pt-4 md:pt-10 h-full')}>
|
23 |
+
<div className="size-full overflow-auto">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
<ChatList messages={messages} />
|
25 |
<ChatScrollAnchor trackVisibility={isLoading} />
|
26 |
</div>
|