From 81e5849876ae3f4f50b1c2d06a3ba9f18f69d94e Mon Sep 17 00:00:00 2001 From: Matt Cowley Date: Tue, 23 Jan 2024 15:44:59 +0000 Subject: [PATCH] Fix min-height for wrapper + landing (#72) --- src/components/_base.scss | 1 - src/components/_landing.scss | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) 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..3ebddb7 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,7 @@ 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 {