fix: remove min width in the main container

This commit is contained in:
himself65
2023-04-28 00:34:05 -05:00
parent 549dddc65f
commit 4599a9a601

View File

@@ -51,18 +51,12 @@ export const MainContainerWrapper = styled('div')(() => {
};
});
export const MainContainer = styled('div')(({ theme }) => {
export const MainContainer = styled('div')(() => {
return {
position: 'relative',
flexGrow: 1,
maxWidth: '100%',
backgroundColor: 'var(--affine-background-primary-color)',
[theme.breakpoints.up('md')]: {
minWidth: '686px',
},
[theme.breakpoints.down('sm')]: {
minWidth: '550px',
},
};
});