From d54f20581edb6554f5438df101c5601435ea93ec Mon Sep 17 00:00:00 2001 From: Jonas Date: Mon, 3 Aug 2026 16:43:51 +0200 Subject: [PATCH] fix(editor): fix viewer header overlaying page content on mobile The rule resulted in the editor content being covered partially by the viewer header when opening a shared document on real mobile browsers (e.g. Firefox on Android). I was not able to reproduce the issue with mobile view in Firefox on desktop. Via remote debugging on Android I was able to pin the issue to this rule though. Fixes: #8709 Reverts 87f2ddf25b074f2c451416bf7874c828732de5dc. The issue that this commit originally aimed to fix (superfluous scrollbar with short content on mobile) is also no longer reproducible on mobile browsers. Signed-off-by: Jonas --- src/components/Editor.vue | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/components/Editor.vue b/src/components/Editor.vue index c2d5386bf35..8e7514652b3 100644 --- a/src/components/Editor.vue +++ b/src/components/Editor.vue @@ -9,7 +9,6 @@ ref="el" data-text-el="editor-container" class="text-editor" - :class="{ 'is-mobile': isMobile }" tabindex="-1"> @@ -853,13 +852,6 @@ export default defineComponent({ .modal-container .text-editor { top: 0; height: calc(100vh - var(--header-height)); - - &.is-mobile { - // TODO: Why is this required to prevent small scrolling container on mobile with short content? - height: calc( - 100vh - var(--header-height) - 2 * var(--default-grid-baseline) - ); - } } .text-editor {