diff --git a/packages/frontend/component/src/components/affine-other-page-layout/index.css.ts b/packages/frontend/component/src/components/affine-other-page-layout/index.css.ts index bffdf0e7f..b805d3f55 100644 --- a/packages/frontend/component/src/components/affine-other-page-layout/index.css.ts +++ b/packages/frontend/component/src/components/affine-other-page-layout/index.css.ts @@ -1,8 +1,8 @@ import { cssVar } from '@toeverything/theme'; import { style } from '@vanilla-extract/css'; export const root = style({ - height: '100vh', - width: '100vw', + height: '100%', + width: '100%', display: 'flex', flexDirection: 'column', fontSize: cssVar('fontBase'),