Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(core): app height exceeds viewport of mobile (#7706)

L-Sun545bd032a776
diff --git a/packages/frontend/core/src/components/workspace/index.css.ts b/packages/frontend/core/src/components/workspace/index.css.ts
index 4e33a98e9c..721bffcd56 100644
--- a/packages/frontend/core/src/components/workspace/index.css.ts
+++ b/packages/frontend/core/src/components/workspace/index.css.ts
@@ -3,7 +3,7 @@ import { globalStyle, style } from '@vanilla-extract/css';
export const appStyle = style({
width: '100%',
position: 'relative',
- height: '100vh',
+ height: '100dvh',
flexGrow: '1',
display: 'flex',
backgroundColor: cssVar('backgroundPrimaryColor'),