feat(shell): 一级导航(52px 纯图标)+ 插件整页 + 快捷键弹窗分区罗列(v3.25.59)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m5s
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m5s
This commit is contained in:
1 parent
6db5a143a8
commit
7b2f07bdad
37 files changed
+676
-177
No files matched your search
+3
-1
@@ -143,7 +143,9 @@
|
||||
useEffect(function () {
|
||||
const r = global.document && global.document.documentElement
|
||||
if (!r) return
|
||||
const lw = dock.left.open ? dock.left.w : 0
|
||||
// 一级导航常驻在窗口最左(52px):左停靠栏整体右移,工具栏居中基准也要含它
|
||||
const NAV_W = 52
|
||||
const lw = dock.left.open ? (NAV_W + dock.left.w) : NAV_W
|
||||
const rw = dock.right.open ? dock.right.w : 0
|
||||
r.style.setProperty('--iwb-dock-l', lw + 'px')
|
||||
r.style.setProperty('--iwb-dock-r', rw + 'px')
|
||||
|
||||
Reference in new issue
Block a user