Skip to content

Commit

Permalink
Make main div flexbox to allow for padding at bottom of forms
Browse files Browse the repository at this point in the history
  • Loading branch information
Janell-Huyck committed Nov 15, 2024
1 parent e6869f9 commit 55f083b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ a:hover {
}

#main {
display: flex; /* Flexbox for layout management */
flex-direction: column; /* Stack children vertically */
min-height: 100vh; /* Ensure it covers the full viewport height */
position: relative; /* For context for absolutely positioned children like the footer */
transition: margin-left .5s;
}

Expand Down
4 changes: 4 additions & 0 deletions app/assets/stylesheets/software_records.scss
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ option {
}

#main {
display: flex; /* Flexbox for layout management */
flex-direction: column; /* Stack children vertically */
min-height: 100vh; /* Ensure it covers the full viewport height */
position: relative; /* For context for absolutely positioned children like the footer */
transition: margin-left .5s;
}

Expand Down

0 comments on commit 55f083b

Please sign in to comment.