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
@@ -2123,7 +2123,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
/* ===== 左右停靠栏(v3.25.35,Obsidian 式) =====
|
||||
* 画布始终 inset:0 不动;只有工具栏/小地图/提示条按 --iwb-dock-l/--iwb-dock-r 让位。
|
||||
*/
|
||||
.iwb-dockarea { position: absolute; left: 0; right: 0; bottom: 0; top: var(--iwb-dock-top, 92px); z-index: 24; pointer-events: none; }
|
||||
.iwb-dockarea { position: absolute; left: 0; right: 0; bottom: 0; top: 0; z-index: 24; pointer-events: none; }
|
||||
.iwb-dock {
|
||||
position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column;
|
||||
background: var(--iwb-panel); pointer-events: auto; min-width: 100px;
|
||||
@@ -2170,6 +2170,12 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
background: var(--iwb-panel); color: var(--iwb-text); border: 1px solid var(--iwb-border2);
|
||||
box-shadow: 0 8px 24px rgba(0,0,0,.18); white-space: nowrap;
|
||||
}
|
||||
/* 顶栏与标签条随左右栏内缩(标题跟着缩进;画布仍不动) */
|
||||
.iwb-canvas-topbar { left: var(--iwb-dock-l, 0px) !important; right: var(--iwb-dock-r, 0px) !important; }
|
||||
.iwb-tabstrip { left: var(--iwb-dock-l, 0px) !important; right: var(--iwb-dock-r, 0px) !important; }
|
||||
.iwb-tab-spacer { flex: 1 1 auto; }
|
||||
.iwb-tab-actions { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; pointer-events: auto; }
|
||||
.iwb-tab-actions .iwb-top-nav-icon { width: 28px; height: 28px; min-height: 28px; }
|
||||
/* 其它浮层让位(画布不动) */
|
||||
.iwb-toolbar-wrap { left: var(--iwb-dock-l, 0px); right: calc(60px + var(--iwb-dock-r, 0px)); }
|
||||
.iwb-minimap { right: calc(62px + var(--iwb-dock-r, 0px)); }
|
||||
|
||||
Reference in new issue
Block a user