Skip to content

Commit

Permalink
fix(mobile): correct height calculation to account for dynamic displa…
Browse files Browse the repository at this point in the history
…y of mobile address bar #222
  • Loading branch information
jason-capsule42 committed Apr 26, 2024
1 parent 599758e commit 483de44
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/style-auro-calendar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
--calendar-width: 336px;
--mobile-footer-height: 150px;
--mobile-header-height: 68px;

height: 100vh;
// stylelint-disable-next-line declaration-block-no-duplicate-properties
height: 100dvh; /* dvh = dynamic viewport height */
}

.calendarNavBtn {
Expand Down

0 comments on commit 483de44

Please sign in to comment.