fix: incorrect scrollbar position when opening full width layout (#2869)

Co-authored-by: Alex Yang <himself65@outlook.com>
This commit is contained in:
JimmFlyandAlex Yang authored and GitHub committed 2023-06-27 14:15:34 +00:00
1 parent ab703fe3ae
commit c7f25e8fe3
2 files changed
+2 -4

No files matched your search

@@ -7,12 +7,10 @@ export const pluginContainer = style({
export const editor = style({
height: 'calc(100% - 52px)',
selectors: {
'&.full-screen': {
padding: '0 5%',
vars: {
'--affine-editor-width': '100%',
'--affine-editor-width': '90%',
},
},
},