Created
July 14, 2020 22:43
-
-
Save grampelberg/4c026c7cad8168929d7794b64a650e68 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--toolbar-regular-height: 56px; | |
} | |
@media (min-width: 0px) and (orientation: landscape) { | |
:root { | |
--toolbar-regular-height: 48px; | |
} | |
} | |
@media (min-width: 600px) { | |
:root { | |
--toolbar-regular-height: 64px; | |
} | |
} | |
.h-screen-nav { | |
height: calc(100vh - var(--toolbar-regular-height)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment