Skip to content

Commit

Permalink
Ensure the footer is bottom aligned
Browse files Browse the repository at this point in the history
  • Loading branch information
thelegy committed Mar 21, 2023
1 parent 3162ce7 commit 815ba97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,13 @@ body {
". sidebar content ."
". footer footer .";
grid-template-columns: 1fr $headerLeftBar auto 1fr;
grid-template-rows: auto 1fr auto;
font-size: calc(min(2vw, .7rem));
min-height: 100vh;
}

.content {
grid-area: content;
min-height: calc(100vh - #{$headerHeight} - #{$footerHeight} - 40px);
padding: 20px;
padding-left: 24px;
max-width: 876px;
Expand Down

0 comments on commit 815ba97

Please sign in to comment.