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 @@