fix(ui): reserve space for pinned sidebar

Keep page content accessible when the desktop sidebar remains expanded and cover the complete pin lifecycle.
This commit is contained in:
PathGao
2026-07-30 14:52:38 +08:00
parent 91c5d7b19f
commit ac584cfc90
3 changed files with 32 additions and 12 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
align-self: flex-start;
}
.ant-sidebar > .ant-layout-sider:not(.ant-layout-sider-collapsed) {
.ant-sidebar:not(.sidebar-pinned) > .ant-layout-sider:not(.ant-layout-sider-collapsed) {
box-shadow: 0 0 32px rgba(0, 0, 0, 0.22);
}