Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Commit a9a7346

Browse files
committed
fix chat layout
1 parent 4476819 commit a9a7346

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/routes/Chat.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -309,13 +309,13 @@ export function Chat() {
309309
const a_time = isDirectMessage(a.content)
310310
? a.content.date
311311
: isActivityItem(a.content)
312-
? a.content.last_updated
313-
: 0;
312+
? a.content.last_updated
313+
: 0;
314314
const b_time = isDirectMessage(b.content)
315315
? b.content.date
316316
: isActivityItem(b.content)
317-
? b.content.last_updated
318-
: 0;
317+
? b.content.last_updated
318+
: 0;
319319

320320
return b_time - a_time; // Descending order
321321
});
@@ -436,7 +436,7 @@ export function Chat() {
436436
<MutinyWalletGuard>
437437
<main class="mx-auto grid h-[100dvh] w-full max-w-[600px] grid-cols-1 grid-rows-[minmax(10px,1fr)_4rem] flex-col overflow-y-hidden safe-top safe-bottom">
438438
<div class="overflow-y-auto">
439-
<div class="fixed top-0 z-50 flex w-full flex-col gap-2 bg-m-grey-975/70 p-4 backdrop-blur-lg">
439+
<div class="fixed top-0 z-50 flex w-full max-w-[600px] flex-col gap-2 bg-m-grey-975/70 p-4 backdrop-blur-lg">
440440
<div class="flex w-full flex-col gap-2">
441441
<div class="flex items-center gap-2">
442442
<BackPop default="/" title="" />

0 commit comments

Comments
 (0)