fix: 工作空间面板改为 flex 子元素,修复与主内容区错位

- workspace-panel 从 position:fixed 改为 flex 子元素,与日志面板布局模式一致
- 移除 margin-right:480px hack,工作空间自然占据宽度
- 移除 updateNavHeight() 和 --nav-height CSS 变量(不再需要)
- 移除 border-top(flex 布局下顶部自动对齐)
This commit is contained in:
thzxx
2026-04-15 10:17:04 +08:00
parent 8ab3fc5f68
commit d6373ffafe
3 changed files with 8 additions and 27 deletions
+1 -1
View File
@@ -167,7 +167,7 @@
</div>
</div><!-- /.main-wrap -->
<!-- ═══════════════ 工作空间面板(右侧,常驻显示)═══════════════ -->
<!-- ═══════════════ 工作空间面板(右侧,常驻显示flex 子元素)═══════════════ -->
<aside class="workspace-panel" id="workspacePanel">
<div class="ws-header">
<span class="ws-title">🖥️ 工作空间</span>