From 88a690a7d1c94da42ebea65afe7f447b185f41a0 Mon Sep 17 00:00:00 2001 From: Fangdun Tsai Date: Thu, 16 Feb 2023 18:04:02 +0800 Subject: [PATCH] fix: position is set to relative is needed in wrapper of editor-container (#1060) --- apps/web/src/components/editor/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/src/components/editor/index.tsx b/apps/web/src/components/editor/index.tsx index 1f0f155453..9dd02cf0ff 100644 --- a/apps/web/src/components/editor/index.tsx +++ b/apps/web/src/components/editor/index.tsx @@ -6,6 +6,7 @@ import { styled } from '@affine/component'; const StyledEditorContainer = styled('div')(() => { return { + position: 'relative', height: 'calc(100vh - 60px)', padding: '0 32px', };