fix: 修复工作空间面板协调性问题

- 头部 Tab 改用 ws-header-tab class,与终端 Tab 的 ws-tab 解除冲突
- 终端 Tab bar 补充完整基础样式(background、border、cursor、transition)
- 补充 .ws-file-toolbar 的 min-height 和按钮 flex-shrink
- 移除未使用的 WorkspaceFileEntry、logWarn import
- resizer 添加 title 提示
This commit is contained in:
thzxx
2026-04-07 18:35:26 +08:00
parent 0e1f216aa4
commit 46c9595f26
3 changed files with 30 additions and 10 deletions
+3 -3
View File
@@ -175,12 +175,12 @@
<!-- ═══════════════ 工作空间面板(右侧)═══════════════ -->
<aside class="workspace-panel" id="workspacePanel" style="display:none;">
<div class="ws-resizer" id="wsResizer"></div>
<div class="ws-resizer" id="wsResizer" title="拖拽调整宽度"></div>
<div class="ws-header">
<span class="ws-title">🖥️ 工作空间</span>
<div class="ws-tabs">
<button class="ws-tab active" id="wsTabTerminal">💻 命令行</button>
<button class="ws-tab" id="wsTabFiles">📁 文件</button>
<button class="ws-header-tab active" id="wsTabTerminal">💻 命令行</button>
<button class="ws-header-tab" id="wsTabFiles">📁 文件</button>
</div>
<button class="icon-btn ws-toggle-btn" id="btnWorkspaceClose" title="收起面板">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">