main
mula.liu 2026-04-01 09:14:02 +08:00
parent d298174439
commit 355be362fc
2 changed files with 16 additions and 0 deletions

View File

@ -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);
}

View File

@ -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);