mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix(core): the full width layout feature does not work (#8687)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { style } from '@vanilla-extract/css';
|
||||
import { globalStyle, style } from '@vanilla-extract/css';
|
||||
export const editor = style({
|
||||
flex: 1,
|
||||
selectors: {
|
||||
@@ -22,3 +22,10 @@ export const editor = style({
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
globalStyle(`${editor}.full-screen .page-editor-container`, {
|
||||
vars: {
|
||||
'--affine-editor-width': '100%',
|
||||
'--affine-editor-side-padding': '72px',
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user