From c7459fb0975c981f32021da542097b80ec8540f6 Mon Sep 17 00:00:00 2001 From: yangy Date: Wed, 29 Apr 2026 10:14:25 +0800 Subject: [PATCH] Enhance layout responsiveness by centering main content and adjusting sidebar behavior; update BottomNav styles for better alignment on larger screens. --- client/src/App.tsx | 7 ++++++- client/src/components/BottomNav.tsx | 2 +- client/src/components/Layout.tsx | 6 +++--- client/src/components/Sidebar.tsx | 2 +- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/client/src/App.tsx b/client/src/App.tsx index 45bf58c..a007891 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -49,7 +49,12 @@ function App() { - + {/* Desktop: narrow shell centered in the browser with side gutters */} +
+
+ +
+
diff --git a/client/src/components/BottomNav.tsx b/client/src/components/BottomNav.tsx index 615ed31..c3bf0bc 100644 --- a/client/src/components/BottomNav.tsx +++ b/client/src/components/BottomNav.tsx @@ -35,7 +35,7 @@ export default function BottomNav() { return (