mirror of
https://github.com/snowball-tools/snowballtools-base.git
synced 2024-12-22 20:47:44 +00:00
🎨 style: make the sidebar scrollable
This commit is contained in:
parent
4c8d0e2436
commit
02500b3cba
@ -96,9 +96,12 @@ export const Sidebar = ({ mobileOpen }: SidebarProps) => {
|
||||
animate={{ x: isDesktop || mobileOpen ? 0 : -320 }}
|
||||
exit={{ x: -320 }}
|
||||
transition={{ ease: 'easeInOut', duration: 0.3 }}
|
||||
className={cn('h-full flex-none w-[320px] flex flex-col', {
|
||||
flex: mobileOpen,
|
||||
})}
|
||||
className={cn(
|
||||
'h-full flex-none w-[320px] flex flex-col overflow-y-auto',
|
||||
{
|
||||
flex: mobileOpen,
|
||||
},
|
||||
)}
|
||||
>
|
||||
<div
|
||||
className={cn(
|
||||
|
Loading…
Reference in New Issue
Block a user