mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix(core): fix layout overflow (#7647)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user