From 51d36566d167bed8b8d33eb4236bb881c9d85642 Mon Sep 17 00:00:00 2001 From: AutonetSellCar Deploy Date: Sat, 3 Jan 2026 12:11:36 +0900 Subject: [PATCH] Fix SidebarLayout mobile responsiveness MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Move mobile tabs outside flex container to prevent layout conflict - Add sticky positioning for mobile tabs - Add min-w-0 to main content to prevent overflow - Reduce padding on mobile screens 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- frontend/src/components/SidebarLayout.tsx | 50 +++++++++++------------ 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/frontend/src/components/SidebarLayout.tsx b/frontend/src/components/SidebarLayout.tsx index e69d9bd..386b4cb 100644 --- a/frontend/src/components/SidebarLayout.tsx +++ b/frontend/src/components/SidebarLayout.tsx @@ -22,9 +22,31 @@ export default function SidebarLayout({ children, groupKey }: SidebarLayoutProps return (
+ {/* Mobile Sidebar - horizontal tabs (outside flex container) */} +
+
+ {group.items.map((item) => { + const isActive = pathname === item.path || pathname.startsWith(item.path + '/'); + return ( + + {getLabel(item.label)} + + ); + })} +
+
+
- {/* Sidebar */} -