mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 07:36:42 +08:00
fix(web): remove edgeless mode padding (#2061)
This commit is contained in:
@@ -89,10 +89,13 @@ const BlockSuiteEditorImpl = (props: EditorProps): ReactElement => {
|
||||
container.removeChild(editor);
|
||||
};
|
||||
}, [editor, page]);
|
||||
|
||||
// issue: https://github.com/toeverything/AFFiNE/issues/2004
|
||||
const className = `editor-wrapper ${editor.mode}-mode`;
|
||||
return (
|
||||
<div
|
||||
data-testid={`editor-${props.page.id}`}
|
||||
className="editor-wrapper"
|
||||
className={className}
|
||||
style={props.style}
|
||||
ref={ref}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user