Skip to content

Commit

Permalink
Ensure the page cannot be shorter than the viewport height
Browse files Browse the repository at this point in the history
Fixes #1290
  • Loading branch information
thatbudakguy committed Sep 5, 2024
1 parent ccf8b56 commit 037e6c8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app/assets/stylesheets/earthworks.css
Original file line number Diff line number Diff line change
Expand Up @@ -345,3 +345,14 @@ label.toggle-bookmark {
--bs-link-hover-decoration: underline;
--bs-link-hover-color-rgb: var(--stanford-digital-blue-dark-rgb);
}

/* Push footer to the bottom on short pages */
body {
display: flex;
flex-direction: column;
min-height: 100vh;
}

#main-container {
flex: 1;
}

0 comments on commit 037e6c8

Please sign in to comment.