Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: remove min width in the main container

himself654599a9a60130
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',
- },
};
});