mirror of
https://github.com/Syngnat/GoNavi.git
synced 2026-08-12 01:24:12 +08:00
🐛 fix(sidebar): 放宽左侧树拖拽宽度上限
- 统一侧栏宽度常量,最大宽度放宽到 960px - 拖拽时按窗口宽度预留主工作区空间 - 同步 v2 与 legacy 侧栏 CSS 最大宽度 - 持久化侧栏宽度时允许保存更宽配置并补充测试
This commit is contained in:
@@ -1758,7 +1758,7 @@ body[data-ui-version="v2"] .gn-v2-sidebar-shell {
|
||||
|
||||
body[data-ui-version="v2"] .gn-v2-app-sider {
|
||||
min-width: 232px !important;
|
||||
max-width: 420px !important;
|
||||
max-width: min(960px, calc(100vw - 360px)) !important;
|
||||
}
|
||||
|
||||
body[data-ui-version="v2"] .gn-v2-sidebar-redesign {
|
||||
|
||||
Reference in New Issue
Block a user