From 0e9017a665f96ef4444ca0b587746745fc203b95 Mon Sep 17 00:00:00 2001 From: dobby-d-elf Date: Fri, 15 May 2026 08:58:24 -0600 Subject: [PATCH] refine workspace panel header layout --- static/boot.js | 5 +--- static/index.html | 3 +-- static/style.css | 21 +++++++---------- tests/test_mobile_layout.py | 10 ++------ tests/test_sprint41.py | 16 +------------ tests/test_sprint44.py | 8 ------- tests/test_workspace_panel_session_list.py | 27 ++++++++++------------ 7 files changed, 25 insertions(+), 65 deletions(-) diff --git a/static/boot.js b/static/boot.js index e967f292..afd0f576 100644 --- a/static/boot.js +++ b/static/boot.js @@ -202,10 +202,7 @@ function syncWorkspacePanelUI(){ if(clearBtn){ clearBtn.disabled=!isOpen; _setButtonTooltip(clearBtn, hasPreview?'Close preview':'Hide workspace panel'); - // On desktop, only show the X button when a file preview is open. - // In browse mode the chevron (btnCollapseWorkspacePanel) already serves - // as the close control, so showing both produces a duplicate X. - if(!isCompact) clearBtn.style.display=hasPreview?'':'none'; + if(!isCompact) clearBtn.style.display=''; } } diff --git a/static/index.html b/static/index.html index c32974ce..669f33a5 100644 --- a/static/index.html +++ b/static/index.html @@ -1181,10 +1181,9 @@