Skip to content

Commit

Permalink
feat: improve sticky footer for usage in admin theme
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Apr 26, 2023
1 parent 9707d77 commit cc0ee69
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions less/sticky-footer.less
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@ body {
min-height: 100%;
// outline: 2px solid red;

header,
footer {
> header,
> footer {
display: table-row;
height: 1%;
}

// grow <main> section so that footer sticks to bottom
main {
> main {
display: table-row;
height: 100%;
}
Expand Down

0 comments on commit cc0ee69

Please sign in to comment.