From 6206b02f016248af778fb8e08d41f3a770b5edf2 Mon Sep 17 00:00:00 2001 From: Nixevol Date: Sun, 25 Oct 2026 08:26:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8A=8A=E4=BE=A7=E6=A0=8F=E4=B8=AA?= =?UTF-8?q?=E4=BA=BA=E4=BF=A1=E6=81=AF=E5=9B=BA=E5=AE=9A=E5=9C=A8=E5=BA=95?= =?UTF-8?q?=E9=83=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- desktop/src/shell/Shell.vue | 1 + desktop/src/styles.css | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/desktop/src/shell/Shell.vue b/desktop/src/shell/Shell.vue index 8108d81..fa478cc 100644 --- a/desktop/src/shell/Shell.vue +++ b/desktop/src/shell/Shell.vue @@ -82,6 +82,7 @@ async function signOut() { :collapsed="collapsed" show-trigger :native-scrollbar="false" + :content-style="{ height: '100%', display: 'flex', flexDirection: 'column' }" @collapse="collapsed = true" @expand="collapsed = false" > diff --git a/desktop/src/styles.css b/desktop/src/styles.css index 11da78f..fcdc9d8 100644 --- a/desktop/src/styles.css +++ b/desktop/src/styles.css @@ -181,7 +181,14 @@ select { color: var(--ink); } +.shell .n-layout-sider > .n-scrollbar, +.shell .n-layout-sider .n-scrollbar-container, +.shell .n-layout-sider .n-scrollbar-content { + height: 100%; +} + .sider-body { + flex: 1; height: 100%; display: flex; flex-direction: column;