fix(core): remove responsive editor width (#4821)

This commit is contained in:
Joooye_34
2023-11-03 12:47:51 +08:00
committed by GitHub
parent f6cfe7c8a1
commit 97db941749
@@ -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}`, {