From 45f618af9e34bb4e0fa1683e32fea64be15d60d7 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 13 Mar 2026 22:38:29 +0000 Subject: [PATCH] fix(v2): improve navigation menu responsiveness on mobile Refactored V2Navi.jsx to use CSS classes instead of inline styles. Updated v2-theme.css with responsive navigation styles: - On mobile, the navigation rail is now a horizontal bar at the bottom. - Added horizontal scrolling for navigation items on small screens. - Hidden the logo on mobile to save space. - Adjusted item padding and margins for better mobile fit. Added V2Navi.test.jsx to verify correct rendering and theme toggling logic. Co-authored-by: godie <227743+godie@users.noreply.github.com> --- src/v2/components/V2Navi.jsx | 21 +++----- src/v2/components/V2Navi.test.jsx | 59 +++++++++++++++++++++++ src/v2/styles/v2-theme.css | 79 ++++++++++++++++++++++++++++++- 3 files changed, 143 insertions(+), 16 deletions(-) create mode 100644 src/v2/components/V2Navi.test.jsx diff --git a/src/v2/components/V2Navi.jsx b/src/v2/components/V2Navi.jsx index 8a38ce1..b60f372 100644 --- a/src/v2/components/V2Navi.jsx +++ b/src/v2/components/V2Navi.jsx @@ -22,17 +22,11 @@ const V2Navi = () => { return (