fix(core): remove responsive editor width (#4821)
This commit is contained in:
@@ -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")`,
|
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}`, {
|
globalStyle(`html[data-theme="light"] ${appStyle}`, {
|
||||||
|
|||||||
Reference in New Issue
Block a user