Fix header size for metadata editor

This commit is contained in:
Bill Thornton 2024-01-05 17:10:38 -05:00
parent b08b8656e9
commit 81192057e6

View file

@ -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
}
}}
>