Consider y-scrollbar when setting max-width
In case there was a y-scrollbar, the set max width caused the x-scrollbar to also appear
This commit is contained in:
@@ -88,7 +88,7 @@ const MainApp = () => {
|
|||||||
sx={{
|
sx={{
|
||||||
flexGrow: 1,
|
flexGrow: 1,
|
||||||
minHeight: `calc(100vh - ${bottomBarHeight}px)`,
|
minHeight: `calc(100vh - ${bottomBarHeight}px)`,
|
||||||
maxWidth: `calc(100vw - ${navBarWidth}px)`,
|
maxWidth: `calc(100vw - (100vw - 100%) - ${navBarWidth}px)`,
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
mb: `${bottomBarHeight}px`,
|
mb: `${bottomBarHeight}px`,
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user