fix(mobile): bottom margin on iOS

This commit is contained in:
Elian Doran 2024-12-28 12:24:57 +02:00
parent ba84cd0390
commit 3ea26a46c5
No known key found for this signature in database

View File

@ -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);