diff --git a/assets/scss/base/components.scss b/assets/scss/base/components.scss index 6930db9..29ebdb1 100644 --- a/assets/scss/base/components.scss +++ b/assets/scss/base/components.scss @@ -119,15 +119,19 @@ a:visited {color: rgb(147, 85, 197)} background-repeat: no-repeat; min-height: max-content; max-height: calc(100vh - 9em); + max-height: calc(var(--vh, 1vh) * 100 - 9em); @media (min-width: 960px) { max-height: calc(100vh - 6em); + max-height: calc(var(--vh, 1vh) * 100 - 6em); } padding: 0; .container { position: relative; height: calc(100vh - 9em); + height: calc(var(--vh, 1vh) * 100 - 9em); @media (min-width: 960px) { height: calc(100vh - 6em); + height: calc(var(--vh, 1vh) * 100 - 6em); } padding: 1em; } diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 82a1878..f445ced 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -8,6 +8,9 @@ {{ $styles := resources.Get "scss/main.scss" | toCSS | minify | fingerprint }} + {{ if .IsPage }}{{ end }} {{ if .IsHome }}