File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
platforms/blabsy/src/components/chat Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ export function ChatWindow(): JSX.Element {
206
206
< div className = 'flex h-full flex-col' >
207
207
{ currentChat ? (
208
208
< >
209
- < div className = 'flex items-center justify-between gap-3 border-b border-gray-200 p-4 dark:border-gray-800' >
209
+ < div className = 'flex h-fit items-center justify-between gap-3 border-b border-gray-200 p-4 dark:border-gray-800' >
210
210
< div className = 'flex items-center gap-3' >
211
211
< div className = 'relative flex h-10 w-10 items-center justify-center overflow-hidden rounded-full bg-gray-200 dark:bg-gray-700' >
212
212
{ otherUser ?. photoURL ? (
@@ -263,7 +263,7 @@ export function ChatWindow(): JSX.Element {
263
263
</ div >
264
264
) }
265
265
</ div >
266
- < div className = 'flex-1 overflow-y-auto p-4 ' >
266
+ < div className = 'flex-1 p-4 overflow-y-auto' >
267
267
{ isLoading ? (
268
268
< div className = 'flex h-full w-full items-center justify-center' >
269
269
< Loading className = 'h-8 w-8' />
Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ import { ChatWindow } from './chat-window';
3
3
4
4
export function Chat ( ) : JSX . Element {
5
5
return (
6
- < main className = 'min-h-screen w-full max-w-5xl mt -8' >
6
+ < main className = 'min-h-full w-full max-w-5xl pt -8' >
7
7
< div className = 'grid h-[calc(100vh-4rem)] grid-cols-1 gap-4 md:grid-cols-[350px_1fr]' >
8
- < div className = 'h-full rounded-lg border border-gray-200 bg-white dark:border-gray-800 dark:bg-black' >
8
+ < div className = 'max- h-full rounded-lg border border-gray-200 bg-white dark:border-gray-800 dark:bg-black' >
9
9
< ChatList />
10
10
</ div >
11
- < div className = 'h-full rounded-lg border border-gray-200 bg-white dark:border-gray-800 dark:bg-black' >
11
+ < div className = 'h-[calc(100vh-4rem)] rounded-lg border border-gray-200 bg-white dark:border-gray-800 dark:bg-black' >
12
12
< ChatWindow />
13
13
</ div >
14
14
</ div >
You can’t perform that action at this time.
0 commit comments