From 9a36e48de5e74f49f0d37b13b16a623f54a86ffa Mon Sep 17 00:00:00 2001 From: WanQuanXie Date: Wed, 29 May 2024 14:31:42 +0800 Subject: [PATCH] fix(ui): correct the dom elements' position --- ui/components/EmptyChat.tsx | 21 ++++++++++++--------- ui/components/Navbar.tsx | 5 +++-- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/ui/components/EmptyChat.tsx b/ui/components/EmptyChat.tsx index 2cb3328..b947404 100644 --- a/ui/components/EmptyChat.tsx +++ b/ui/components/EmptyChat.tsx @@ -11,16 +11,19 @@ const EmptyChat = ({ setFocusMode: (mode: string) => void; }) => { return ( -
+
-

- Research begins here. -

- + +
+

+ Research begins here. +

+ +
); }; diff --git a/ui/components/Navbar.tsx b/ui/components/Navbar.tsx index 4159161..c64dbd0 100644 --- a/ui/components/Navbar.tsx +++ b/ui/components/Navbar.tsx @@ -49,9 +49,10 @@ const Navbar = ({ messages }: { messages: Message[] }) => {

{timeAgo} ago

{title}

-
- + + +