mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-23 19:05:16 +02:00
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. |
||
|---|---|---|
| .. | ||
| AllPrivateChatsSidebar.tsx | ||
| AllSharedChatsSidebar.tsx | ||
| AnnouncementsSidebar.tsx | ||
| AuthenticatedPageUsageDisplay.tsx | ||
| ChatListItem.tsx | ||
| DesktopLocalTabContent.tsx | ||
| DocumentsSidebar.tsx | ||
| InboxSidebar.tsx | ||
| index.ts | ||
| LocalFilesystemBrowser.tsx | ||
| MobileSidebar.tsx | ||
| NavSection.tsx | ||
| PageUsageDisplay.tsx | ||
| PremiumTokenUsageDisplay.tsx | ||
| Sidebar.tsx | ||
| SidebarButton.tsx | ||
| SidebarCollapseButton.tsx | ||
| SidebarHeader.tsx | ||
| SidebarSection.tsx | ||
| SidebarSlideOutPanel.tsx | ||
| SidebarUserProfile.tsx | ||