mirror of
https://github.com/nimbold/Firelink.git
synced 2026-08-08 10:23:29 +00:00
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:
+3
-1
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user