From 18675f083c1876d9bbcd89222e71f0f85a77fcf3 Mon Sep 17 00:00:00 2001 From: hailin Date: Tue, 24 Feb 2026 06:55:32 -0800 Subject: [PATCH] =?UTF-8?q?fix(admin-web):=20=E6=BB=9A=E5=8A=A8=E5=8C=BA?= =?UTF-8?q?=E5=9F=9F=E6=94=B9=E5=88=B0=20nav=20=E5=86=85=E9=83=A8=EF=BC=8C?= =?UTF-8?q?=E9=81=BF=E5=85=8D=E8=A3=81=E6=8E=89=20toggle=20=E6=8C=89?= =?UTF-8?q?=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 --- .../layout/Sidebar/Sidebar.module.scss | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/frontend/admin-web/src/components/layout/Sidebar/Sidebar.module.scss b/frontend/admin-web/src/components/layout/Sidebar/Sidebar.module.scss index d89e8381..94f7ee57 100644 --- a/frontend/admin-web/src/components/layout/Sidebar/Sidebar.module.scss +++ b/frontend/admin-web/src/components/layout/Sidebar/Sidebar.module.scss @@ -126,6 +126,17 @@ min-height: 0; display: flex; flex-direction: column; + } + + &__nav { + width: 244px; + display: flex; + flex-direction: column; + align-items: flex-start; + padding: 16px 4px 16px 16px; + box-sizing: border-box; + gap: 8px; + flex: 1; overflow-y: auto; overflow-x: hidden; @@ -142,16 +153,6 @@ } } - &__nav { - width: 244px; - display: flex; - flex-direction: column; - align-items: flex-start; - padding: 16px 4px 16px 16px; - box-sizing: border-box; - gap: 8px; - } - &__toggle { position: absolute; right: -12px;