diff --git a/src/components/_base.scss b/src/components/_base.scss index 102dbcc..cfdc293 100644 --- a/src/components/_base.scss +++ b/src/components/_base.scss @@ -77,7 +77,6 @@ figure { flex-direction: column; line-height: $line-height; margin: 0; - min-height: 100vh; padding: 0; text-rendering: optimizeLegibility; diff --git a/src/components/_landing.scss b/src/components/_landing.scss index b290eb2..17295aa 100644 --- a/src/components/_landing.scss +++ b/src/components/_landing.scss @@ -1,5 +1,5 @@ /* -Copyright 2022 DigitalOcean +Copyright 2024 DigitalOcean Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -17,7 +17,11 @@ limitations under the License. .landing { display: flex; flex-direction: column; - min-height: calc(100vh - 171px); // Account for Community nav height + min-height: calc(100vh - ( + var(--top-hat-height, 0px) + + var(--primary-nav-height, 0px) + + var(--sub-nav-height, 0px) + )); // Account for Community nav height position: relative; .container {