fix(ui): hide duplicate close button in workspace header at mobile width (#783)

At the @media(max-width:900px) breakpoint both .close-preview and .mobile-close-btn were visible simultaneously. Since boot.js wires both to handleWorkspaceClose(), only the mobile-close-btn needs to show at that width. Adds .close-preview{display:none} to the 900px media block.

Fixes #781
This commit is contained in:
nesquena-hermes
2026-04-20 17:58:02 -07:00
committed by GitHub
parent b6d335feaa
commit 28b4777b5a
3 changed files with 137 additions and 0 deletions

View File

@@ -651,6 +651,7 @@
.rightpanel{display:none}
.workspace-toggle-btn,.mobile-files-btn{display:inline-flex!important;}
.mobile-close-btn{display:flex;}
.close-preview{display:none;}
#btnCollapseWorkspacePanel{display:none;}
}