fix: navbar full-width layout

- Remove flex wrapper around Navbar that collapsed it to content width
- Move DM button inside Navbar nav-right, ChatManager renders modals only
- Navbar is a direct body child again, sticky + full width restored
This commit is contained in:
lezi-fun committed 2026-08-10 10:11:32 +08:00
1 parent ec50efea89
commit 60c21ae0a6
3 files changed
+37 -37

No files matched your search

+2 -6
View File
@@ -26,12 +26,8 @@ function HomeInner() {
return (
<>
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between' }}>
<Navbar onOpenModal={openModal} style={{ flex: 1 }} />
<div style={{ paddingRight: 16 }}>
<ChatManager />
</div>
</div>
<Navbar onOpenModal={openModal} />
<ChatManager />
<div id="app" style={{ display: view === 'feed' ? 'flex' : 'none' }}>
<Sidebar />