fix: css variable fallback

This commit is contained in:
Aman Harwara
2022-10-12 20:58:02 +05:30
parent a2dc739686
commit 075d7f444d
2 changed files with 4 additions and 4 deletions

View File

@@ -163,7 +163,7 @@ $footer-height: 2rem;
width: 100%;
@media screen and (min-width: 768px) {
height: calc(var(--viewport-height) - #{$footer-height});
height: calc(var(--viewport-height, 100vh) - #{$footer-height});
}
.section {