Skip to content

Commit

Permalink
fix(ui): Fix menu drawer scrollbars
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypfer committed Jan 15, 2022
1 parent 1da8eba commit 4a6c9fa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion frontend/src/components/ValetudoAppBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,10 @@ const ValetudoAppBar: React.FunctionComponent<{ paletteMode: PaletteMode, setPal
onKeyDown={() => {
setDrawerOpen(false);
}}
style={{
scrollbarWidth: "thin",
overflowX: "hidden"
}}
>
<List>
{menuTree.filter(item => {
Expand Down Expand Up @@ -458,7 +462,8 @@ const ValetudoAppBar: React.FunctionComponent<{ paletteMode: PaletteMode, setPal
open={drawerOpen}
onClose={() => {
setDrawerOpen(false);
}}>
}}
>
{drawerContent}
</Drawer>
}
Expand Down

0 comments on commit 4a6c9fa

Please sign in to comment.