fix: add close buttons to mobile sidebars

- RightSidebar: added onCollapse prop and close button in header

- LeftSidebar: wired existing onCollapse prop in App.tsx

- CSS: show .leftbar-toggle and .rightbar-close on mobile

- Both buttons call setMobile{Left,Right}Open(false) to close overlays
This commit is contained in:
2026-06-28 22:35:33 +02:00
parent 8c878e4bba
commit 3f93a236e1
4 changed files with 24 additions and 0 deletions
+1
View File
@@ -159,6 +159,7 @@ export interface RightSidebarProps {
kiLoading?: boolean;
onUpdateElement?: (el: CADElement) => void;
className?: string;
onCollapse?: () => void;
}
export interface PropertiesPanelProps {