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