v3.2.3: 工作空间面板改为常驻显示,固定宽度480px,不可关闭不可拖拽

This commit is contained in:
thzxx
2026-04-08 12:22:37 +08:00
parent 6a74b8b0d2
commit f9eca2e524
4 changed files with 8 additions and 103 deletions
+2 -27
View File
@@ -2670,7 +2670,7 @@ html, body {
top: 90px; /* header(44px) + model-bar(46px) */
right: 0;
bottom: 0;
width: 420px;
width: 480px;
background: var(--bg-solid, #202020);
border-left: 1px solid var(--border-default, rgba(255,255,255,0.08));
border-top: 1px solid var(--border-default, rgba(255,255,255,0.08));
@@ -2680,21 +2680,6 @@ html, body {
font-family: 'Cascadia Code', 'Consolas', 'Courier New', monospace;
}
.ws-resizer {
position: absolute;
left: -3px;
top: 0;
bottom: 0;
width: 6px;
cursor: col-resize;
z-index: 11;
}
.ws-resizer:hover {
background: var(--accent, #60CDFF);
opacity: 0.3;
}
.ws-header {
display: flex;
align-items: center;
@@ -2742,11 +2727,6 @@ html, body {
border-color: var(--border-strong, rgba(255,255,255,0.12));
}
.ws-toggle-btn {
margin-left: 4px;
padding: 4px;
}
/* ── 终端内容区 ── */
.ws-content {
@@ -3086,13 +3066,8 @@ html, body {
/* ── Header 按钮高亮 ── */
#btnWorkspace.active {
color: var(--accent, #60CDFF);
background: var(--accent-subtle, rgba(96,205,255,0.06));
}
/* ── 主内容区自适应 ── */
.main-wrap.with-workspace {
margin-right: 420px;
margin-right: 480px;
}