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;