fix: 把侧栏个人信息固定在底部
This commit is contained in:
@@ -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"
|
||||
>
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user