SurfSense/surfsense_web/components/layout/ui
Matt Van Horn ca0e08787c
fix(slide-out): use shared useIsMobile (768px) instead of ad-hoc 640px media query
Fixes #1359

The SidebarSlideOutPanel was checking '(min-width: 640px)' while the rest of
the dashboard uses the project-wide useIsMobile() at 768px. At viewports
between 640-767px the slide-out rendered the desktop side-attached overlay
while the surrounding layout had already collapsed to mobile, leaving the
panel positioned against a sidebar that was no longer there.

Aligning to the shared hook fixes the layout choice at every viewport size.
useIsMobile's 768px threshold is unchanged; only this call site adapts.
2026-05-18 23:46:50 -07:00
..
dialogs refactor: optimize button rendering in CreateSearchSpaceDialog and enhance watched folder ID retrieval in DocumentsSidebar 2026-04-08 16:17:34 +05:30
header feat: updated agent harness 2026-04-28 09:22:19 -07:00
icon-rail refactor: update various components to enhance styling consistency and improve user interaction by removing unnecessary classes and adjusting dialog and dropdown styles 2026-03-07 04:15:40 +05:30
right-panel chat: switch consumer chat shells to slice TimelineDataUI and HITL exports. 2026-05-09 18:32:12 +02:00
shell fix(LayoutShell): add 'isolate' class to main content panel 2026-05-01 18:43:45 +05:30
sidebar fix(slide-out): use shared useIsMobile (768px) instead of ad-hoc 640px media query 2026-05-18 23:46:50 -07:00
tabs feat(markdown): enable citation rendering in MarkdownViewer and related components 2026-04-30 18:40:55 -07:00
index.ts Merge branch 'dev' into implement-surfsense-docs-mentions 2026-01-13 00:55:16 -08:00