Fix header size for metadata editor
This commit is contained in:
parent
b08b8656e9
commit
81192057e6
1 changed files with 2 additions and 2 deletions
|
@ -43,11 +43,11 @@ const AppLayout: FC<AppLayoutProps> = ({
|
|||
sx={{
|
||||
width: {
|
||||
xs: '100%',
|
||||
sm: `calc(100% - ${DRAWER_WIDTH}px)`
|
||||
sm: isDrawerAvailable ? `calc(100% - ${DRAWER_WIDTH}px)` : '100%'
|
||||
},
|
||||
ml: {
|
||||
xs: 0,
|
||||
sm: `${DRAWER_WIDTH}px`
|
||||
sm: isDrawerAvailable ? DRAWER_WIDTH : 0
|
||||
}
|
||||
}}
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue