Calculate proper appbar width
The appbar width for the title and actions never considered the navbar width and thus, the actions were cut off on smaller screens
This commit is contained in:
@@ -146,7 +146,7 @@ export function DefaultNavBar() {
|
||||
<Stack
|
||||
sx={{
|
||||
ml: `${isCollapsed ? navBarWidth : 0}px`,
|
||||
width: '100%',
|
||||
width: `calc(100% - ${isCollapsed ? navBarWidth : 0}px)`,
|
||||
flexDirection: 'row',
|
||||
alignItems: 'center',
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user