Archived
1
0
Fork 0

sass: "sticky-footer" broke with BS 5.2.0, fix with flexbox.

This commit is contained in:
Henrik Hautakoski 2022-08-01 21:46:54 +02:00
parent 860caf38b8
commit 5798a28516
2 changed files with 5 additions and 6 deletions

View file

@ -1,5 +1,6 @@
html {
position: relative;
min-height: 100%;
body {
display: flex;
flex-direction: column;
min-height: 100vh;
}

View file

@ -23,7 +23,7 @@
.content-section {
@extend .container;
margin-bottom: $footer-height;
flex: 1 0 auto;
}
@ -33,8 +33,6 @@
.footer-section {
position: absolute;
bottom: 0;
width: 100%;
color: $footer-text-color;
border-top: 1px solid #bcbcbc;