Skip to content

Commit

Permalink
fix(mobile): bottom margin on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Dec 28, 2024
1 parent ba84cd0 commit 3ea26a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/public/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@

html {
/* this fixes FF filter vs. position fixed bug: https://github.com/zadam/trilium/issues/233 */
height: 100%;
height: 100vh;
overscroll-behavior: none;
}

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);
Expand Down

0 comments on commit 3ea26a4

Please sign in to comment.