mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #1090 from omnivore-app/fix/1076
Added CSS to make Menu scrollable
This commit is contained in:
commit
0eda66652e
1 changed files with 11 additions and 3 deletions
|
|
@ -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>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue