Added CSS to make Menu scrollable

This commit is contained in:
Rupin Khandelwal 2022-08-17 16:12:21 -05:00
parent f9480d39f4
commit 7a19d613ac

View file

@ -2,13 +2,21 @@ import { VStack } from '../../elements/LayoutPrimitives'
import { useGetUserPreferences } from '../../../lib/networking/queries/useGetUserPreferences'
import { Menubar } from '../Menu'
export function LibraryMenu(): JSX.Element {
useGetUserPreferences()
return (
<VStack alignment="start" distribution="start" css={{ width: '286px', pl: '16px', height: '100%' }}>
<VStack
alignment="start"
distribution="start"
css={{
width: '286px',
minWidth: '286px',
height: 'calc(100% - 100px)',
overflowY: 'auto',
}}
>
<Menubar />
</VStack>
)
}
}