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"
show-trigger
:native-scrollbar="false"
:content-style="{ height: '100%', display: 'flex', flexDirection: 'column' }"
@collapse="collapsed = true"
@expand="collapsed = false"
>
+7
View File
@@ -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;