Skip to content

Commit

Permalink
Merge pull request #1352 from sul-dlss/view-height-2
Browse files Browse the repository at this point in the history
Ensure the page cannot be shorter than the viewport height
  • Loading branch information
thatbudakguy authored Sep 5, 2024
2 parents 6170671 + 037e6c8 commit f69880e
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 @@ -346,3 +346,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 f69880e

Please sign in to comment.