fix(layout): 停靠栏置顶、折叠按钮归位、顶部功能图标上移 v3.25.36
- 左右栏 top:0 贴顶(去掉上方缺口);标签条/画布状态行按 --iwb-dock-* 内缩,标题跟随缩进 - 左栏折叠图标移到头部最右;右栏保持在最右;折叠后边缘 14px 窄条 + 展开图标 - 画布状态行右侧功能图标(主题/设置/图库/更多)上移到标签条最右;保存按钮去掉 - 更新 shell-render / single-canvas / page-chrome / left-resource 断言与 boundary 快照
This commit is contained in:
1 parent
d42752c0f4
commit
9425c74b2f
15 files changed
+55
-15
No files matched your search
@@ -126,8 +126,8 @@ function hasClass(window, cls) {
|
||||
|
||||
// ── 4. 打开资源中心 ────────────────────────────────────────────────────────
|
||||
const navBtns = Array.from(window.document.querySelectorAll('.iwb-top-nav-icon'))
|
||||
const resBtn = navBtns.find((b) => String(b.getAttribute('title') || '').includes('资源中心'))
|
||||
assert.ok(resBtn, '顶栏应存在「资源中心」入口按钮(title 含「资源中心」)—— 找不到说明入口被改名或移除')
|
||||
const resBtn = navBtns.find((b) => String(b.getAttribute('title') || '').includes('图库'))
|
||||
assert.ok(resBtn, '顶栏应存在「图库(右侧栏)」入口按钮(title 含「图库」)—— 找不到说明入口被改名或移除')
|
||||
resBtn.dispatchEvent(new window.MouseEvent('click', { bubbles: true }))
|
||||
await sleep(1800)
|
||||
|
||||
|
||||
Reference in new issue
Block a user