fix(core): fix layout overflow (#7647)

This commit is contained in:
EYHN
2024-07-30 15:03:07 +08:00
committed by GitHub
parent fcf0ecbaa2
commit 482b5da02f
2 changed files with 2 additions and 2 deletions

View File

@@ -178,7 +178,6 @@ legend {
body {
background: transparent;
overflow: hidden;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
@@ -306,7 +305,7 @@ html,
body {
height: 100%;
position: relative;
overflow: hidden;
overflow: clip;
}
/**

View File

@@ -4,6 +4,7 @@ import { style, type StyleRule } from '@vanilla-extract/css';
export const docEditorRoot = style({
display: 'block',
background: cssVar('backgroundPrimaryColor'),
overflowX: 'clip',
});
export const affineDocViewport = style({