mirror of
https://github.com/narrrl/holy-flavor-rater.git
synced 2026-11-03 16:41:27 +01:00
drawer fix
This commit is contained in:
1 parent
86e5b18bd3
commit
0fe66014cb
1 file changed
+10
-1
+10
-1
@@ -210,7 +210,6 @@ const App: React.FC = () => {
|
||||
flexDirection: 'column',
|
||||
minHeight: '100vh',
|
||||
width: '100%',
|
||||
overflowX: 'hidden',
|
||||
}}
|
||||
>
|
||||
{isMobile && (
|
||||
@@ -250,6 +249,16 @@ const App: React.FC = () => {
|
||||
onClose={() => setDrawerOpen(false)}
|
||||
disableBackdropTransition
|
||||
disableDiscovery
|
||||
slotProps={{
|
||||
paper: {
|
||||
sx: {
|
||||
height: '100vh',
|
||||
maxHeight: '100vh',
|
||||
top: 0,
|
||||
bottom: 0,
|
||||
},
|
||||
},
|
||||
}}
|
||||
>
|
||||
<NavSidebar categories={categories} onNavigate={() => setDrawerOpen(false)} />
|
||||
</SwipeableDrawer>
|
||||
|
||||
Reference in new issue
Block a user