fix(drawer-menu) Make drawer menu accessible on small height (#14026)

This commit is contained in:
Horatiu Muresan
2023-11-07 13:06:03 +02:00
committed by GitHub
parent 8a4990d9ae
commit 29dbcb309d

View File

@@ -73,7 +73,7 @@ const useStyles = makeStyles<{ overflowDrawer: boolean; reactionsMenuHeight: num
return {
overflowMenuDrawer: {
overflow: 'hidden',
height: `calc(${DRAWER_MAX_HEIGHT} - ${reactionsMenuHeight}px - 16px)`
height: `calc(${DRAWER_MAX_HEIGHT})`
},
contextMenu: {
position: 'relative' as const,