fix bug
parent
d298174439
commit
355be362fc
|
|
@ -22,6 +22,13 @@
|
|||
background: var(--sider-bg);
|
||||
}
|
||||
|
||||
/* 修复 Sider 内部 flex 布局 */
|
||||
.document-sider .ant-layout-sider-children {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.sider-header {
|
||||
padding: 16px 20px;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
|
|
@ -76,6 +83,7 @@
|
|||
padding: 8px;
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
background: var(--sider-bg);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,6 +18,13 @@
|
|||
background: var(--sider-bg);
|
||||
}
|
||||
|
||||
/* 修复 Sider 内部 flex 布局 */
|
||||
.docs-sider .ant-layout-sider-children {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.docs-sider-header {
|
||||
padding: 16px 20px;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
|
|
@ -71,6 +78,7 @@
|
|||
.docs-menu {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
border-right: none;
|
||||
background: var(--sider-bg);
|
||||
color: var(--text-color);
|
||||
|
|
|
|||
Loading…
Reference in New Issue