Skip to content

Commit

Permalink
Fix min-height for wrapper + landing (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
MattIPv4 authored Jan 23, 2024
1 parent 8a43fbd commit 81e5849
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/components/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ figure {
flex-direction: column;
line-height: $line-height;
margin: 0;
min-height: 100vh;
padding: 0;
text-rendering: optimizeLegibility;

Expand Down
4 changes: 2 additions & 2 deletions src/components/_landing.scss
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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 {
Expand Down

1 comment on commit 81e5849

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has been deployed to DigitalOcean Spaces for easy reviewing.

do-bulma (Build Analysis Report)

Please sign in to comment.