From 97db941749d455f9a642498c6c12f35a48822f19 Mon Sep 17 00:00:00 2001 From: Joooye_34 Date: Fri, 3 Nov 2023 12:47:51 +0800 Subject: [PATCH] fix(core): remove responsive editor width (#4821) --- .../src/components/workspace/index.css.ts | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/packages/frontend/component/src/components/workspace/index.css.ts b/packages/frontend/component/src/components/workspace/index.css.ts index 309a0e20f1..10a381fe90 100644 --- a/packages/frontend/component/src/components/workspace/index.css.ts +++ b/packages/frontend/component/src/components/workspace/index.css.ts @@ -27,21 +27,6 @@ export const appStyle = style({ backgroundImage: `url("data:image/svg+xml,%3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.25' numOctaves='10' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`, }, }, - vars: { - '--affine-editor-width': '800px', - }, - '@media': { - [breakpoints.down('sm', true)]: { - vars: { - '--affine-editor-width': '550px', - }, - }, - print: { - vars: { - '--affine-editor-width': '800px', - }, - }, - }, }); globalStyle(`html[data-theme="light"] ${appStyle}`, {