From 4599a9a6013005adb81992d846157feac5c3f71e Mon Sep 17 00:00:00 2001 From: himself65 Date: Fri, 28 Apr 2023 00:34:05 -0500 Subject: [PATCH] fix: remove min width in the main container --- apps/web/src/layouts/styles.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/apps/web/src/layouts/styles.ts b/apps/web/src/layouts/styles.ts index caa6e8d829..1698538eaf 100644 --- a/apps/web/src/layouts/styles.ts +++ b/apps/web/src/layouts/styles.ts @@ -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', - }, }; });