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.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix: fullscreen settting not working (#3215)
Alex Yang24a5b54b67e7
diff --git a/apps/web/src/components/page-detail-editor.css.ts b/apps/web/src/components/page-detail-editor.css.tsindex 332e0ca02c..368ea82821 100644--- a/apps/web/src/components/page-detail-editor.css.ts+++ b/apps/web/src/components/page-detail-editor.css.ts@@ -10,7 +10,8 @@ export const editor = style({selectors: {'&.full-screen': {vars: {- '--affine-editor-width': '90%',+ '--affine-editor-width': '100%',+ '--affine-editor-side-padding': '15px',},},},diff --git a/packages/component/src/components/workspace/index.css.ts b/packages/component/src/components/workspace/index.css.tsindex 0aca57c36f..d9bed9c206 100644--- a/packages/component/src/components/workspace/index.css.ts+++ b/packages/component/src/components/workspace/index.css.ts@@ -52,7 +52,8 @@ globalStyle(`html[data-theme="dark"] ${appStyle}`, {export const mainContainerStyle = style({position: 'relative',- flexGrow: 1,+ width: 0,+ flex: 1,maxWidth: '100%',zIndex: 2,backgroundColor: 'var(--affine-background-primary-color)',diff --git a/packages/component/src/ui/modal/modal-wrapper.tsx b/packages/component/src/ui/modal/modal-wrapper.tsxindex d958315fb6..8973ea4966 100644--- a/packages/component/src/ui/modal/modal-wrapper.tsx+++ b/packages/component/src/ui/modal/modal-wrapper.tsx@@ -13,7 +13,7 @@ export const ModalWrapper = styled('div')<{minHeight,backgroundColor: 'var(--affine-background-secondary-color)',boxShadow: 'var(--affine-shadow-3)',- borderRadius: '16px',+ borderRadius: '12px',position: 'relative',maxHeight: 'calc(100vh - 32px)',};