From f55030b971876a270bc15127b09794a6cd1b9fda Mon Sep 17 00:00:00 2001 From: simonkoson <28867558@qq.com> Date: Fri, 22 May 2026 13:04:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20SideNav=20=E4=BE=A7=E8=BE=B9=E6=A0=8F?= =?UTF-8?q?=E4=B8=8D=E6=98=BE=E7=A4=BA=EF=BC=8C.app-sider=20=E5=8E=BB?= =?UTF-8?q?=E6=8E=89=20fixed=20=E6=94=B9=20flex=20=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/Layout/AppLayout.css | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/Layout/AppLayout.css b/frontend/src/components/Layout/AppLayout.css index 2c72671..494bb3b 100644 --- a/frontend/src/components/Layout/AppLayout.css +++ b/frontend/src/components/Layout/AppLayout.css @@ -5,15 +5,12 @@ .app-sider { background: #fff !important; border-right: 1px solid #f0f0f0; - position: fixed !important; - left: 0; - top: 0; - bottom: 0; + width: 220px; + flex: 0 0 220px; overflow-y: auto; } .app-main { - margin-left: 220px; min-height: 100vh; }