Merge pull request 'drawer fix' (#2) from fix/desktop-drawer into main

Reviewed-on: nvrl/Holy-Flavor-Rater#2
This commit is contained in:
nvrl committed 2026-05-08 23:37:15 +02:00
commit 4559d7d060
1 file changed
+10 -1
+10 -1
View File
@@ -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>