Fix: sidebar flex shrink issue FE-1435 (#33887)

Update sidebar.tsx
This commit is contained in:
Jonathan Summers-Muir authored and Joshen Lim committed 2025-03-05 15:39:01 +01:00
1 parent 1d5a761824
commit 124077fd04
1 file changed
+2 -1
@@ -209,7 +209,8 @@ const Sidebar = React.forwardRef<
ref={ref}
className={cn(
overflowing ? 'w-12' : '',
'relative group peer hidden md:block text-sidebar-foreground'
'relative group peer hidden md:block text-sidebar-foreground',
'flex-shrink-0'
)}
data-state={state}
data-collapsible={state === 'collapsed' ? collapsible : ''}