mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2026-09-03 05:10:16 +03:00
Instead of threading a --wincontrols-w var and a data-panel-collapsed flag through core files, keep the custom Windows title bar in the desktop layer per the @app override pattern. - WindowTitleBar mounts in the desktop AppProviders (not core AppFrame) and flags the chrome with data-window-controls on <html>. - All corner reservations live in one desktop-only stylesheet (windowChrome.css), gated by that flag and using :has() to detect the collapsed panel, so no flags or vars leak into core. - Revert every core file (AppFrame, AppLayout, FilesPage.css, ToolPanel.css, RightSidebar, WorkbenchBar) to original; drop the core stub. - Mobile: keep the brand top-left and drop the view switcher below the controls. Net: the whole feature is desktop/ + src-tauri; core is untouched.