fix: 把侧栏个人信息固定在底部

This commit is contained in:
2026-10-25 08:26:57 +08:00
parent 5f3bb312b3
commit 6206b02f01
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -82,6 +82,7 @@ async function signOut() {
:collapsed="collapsed" :collapsed="collapsed"
show-trigger show-trigger
:native-scrollbar="false" :native-scrollbar="false"
:content-style="{ height: '100%', display: 'flex', flexDirection: 'column' }"
@collapse="collapsed = true" @collapse="collapsed = true"
@expand="collapsed = false" @expand="collapsed = false"
> >
+7
View File
@@ -181,7 +181,14 @@ select {
color: var(--ink); 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 { .sider-body {
flex: 1;
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;