fix: remove min width in the main container
This commit is contained in:
@@ -51,18 +51,12 @@ export const MainContainerWrapper = styled('div')(() => {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
export const MainContainer = styled('div')(({ theme }) => {
|
export const MainContainer = styled('div')(() => {
|
||||||
return {
|
return {
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
flexGrow: 1,
|
flexGrow: 1,
|
||||||
maxWidth: '100%',
|
maxWidth: '100%',
|
||||||
backgroundColor: 'var(--affine-background-primary-color)',
|
backgroundColor: 'var(--affine-background-primary-color)',
|
||||||
[theme.breakpoints.up('md')]: {
|
|
||||||
minWidth: '686px',
|
|
||||||
},
|
|
||||||
[theme.breakpoints.down('sm')]: {
|
|
||||||
minWidth: '550px',
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user