fix(ui): stabilize sidebar and titlebar placement

Keep left RTL sidebars physically aligned with the default layout, swap titlebar actions with side-aware custom controls, and preserve usable titlebar space when the sidebar is visible.

Refs #17
This commit is contained in:
NimBold
2026-07-19 03:31:37 +03:30
parent 23878c2ef8
commit c427aa2f7a
3 changed files with 33 additions and 7 deletions
+3 -1
View File
@@ -943,7 +943,9 @@ function App() {
} ${
hasWindowChrome ? 'app-shell--window-chrome' : ''
}`}>
{usesCustomWindowControls && <WindowControls />}
{usesCustomWindowControls && (
<WindowControls side={isSidebarOnRight ? 'right' : 'left'} />
)}
<div
className={`app-sidebar-shell relative z-20 shrink-0 transition-all duration-300 ease-[cubic-bezier(0.2,0.8,0.2,1)] ${
isSidebarOnRight ? 'app-sidebar-shell--right' : 'app-sidebar-shell--left'