From 3ea26a46c57f62f89edffce8f80181dcf24eb165 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 28 Dec 2024 12:24:57 +0200 Subject: [PATCH] fix(mobile): bottom margin on iOS --- src/public/stylesheets/style.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css index b51222599..7fd7dfa85 100644 --- a/src/public/stylesheets/style.css +++ b/src/public/stylesheets/style.css @@ -26,7 +26,7 @@ html { /* this fixes FF filter vs. position fixed bug: https://github.com/zadam/trilium/issues/233 */ - height: 100%; + height: 100vh; overscroll-behavior: none; } @@ -34,8 +34,8 @@ body { /* Fix for CKEditor block gutter icon "stretching" body and causing scrollbar to appear after pressing enter on the last line of the editor. */ position: fixed; - width: 100%; - height: 100%; + width: 100vw; + height: 100vh; background-color: var(--main-background-color); color: var(--main-text-color); font-family: var(--main-font-family);