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