mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
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 {
|
||||
position: 'relative',
|
||||
flexGrow: 1,
|
||||
maxWidth: '100%',
|
||||
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