Skip to content

Commit

Permalink
fix footer so it never overlaps other items
Browse files Browse the repository at this point in the history
  • Loading branch information
Woozl committed Aug 9, 2024
1 parent adf5507 commit bb54a8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 4 additions & 1 deletion src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@ body {
}

#pageContainer {
min-height: 100vh;
min-height: 100dvh;
position: relative;
display: flex;
flex-direction: column;
}
#contentContainer {
/* padding bottom by footer height */
flex: 1;
padding: 0px 30px 29px 30px;
}

Expand Down
4 changes: 0 additions & 4 deletions src/components/footer/footer.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
footer {
position: absolute;
bottom: 0;
width: 100%;
height: auto;
color: #5e5e5e;
background-color: #f5f7fa;
}
Expand Down

0 comments on commit bb54a8a

Please sign in to comment.