From e5378f1307276db905eb077d92c8bedc94c67a71 Mon Sep 17 00:00:00 2001 From: Darshan-upadhyay1110 Date: Fri, 11 Sep 2026 12:15:55 +0530 Subject: [PATCH] fix(viewer): use the header height token for the document offset - Nextcloud 35 reduces --header-height from 50px to 44px. - The fixed -50px offset now cuts off the top of the Collabora Online toolbar. - Use calc(var(--header-height) * -1) so the offset follows the theme. Signed-off-by: Darshan-upadhyay1110 --- src/view/Office.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view/Office.vue b/src/view/Office.vue index 2b008b9332..bf6a1d97d7 100644 --- a/src/view/Office.vue +++ b/src/view/Office.vue @@ -733,7 +733,7 @@ export default { width: 100%; height: 100vh; height: 100dvh; - top: -50px; + top: calc(var(--header-height) * -1); position: absolute; z-index: 10001; }