Skip to content

Commit

Permalink
Use the dynamic view height for the height calculation to aboid an ad…
Browse files Browse the repository at this point in the history
…ditional scrollbar when on mobile devices the adress bar is shown. The adress bar is part of the 100vh but not of 100dvh.
  • Loading branch information
HDinger committed Oct 2, 2024
1 parent d26d63c commit b0f753a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/global_styles/layout/_base.sass
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
margin: 0 0 0 0
padding: 0
// Needed for Safari
height: calc(100vh - var(--header-height))
height: calc(100dvh - var(--header-height))
overflow-y: auto
overflow-x: hidden
background-color: var(--body-background)
Expand Down

0 comments on commit b0f753a

Please sign in to comment.