sass: "sticky-footer" broke with BS 5.2.0, fix with flexbox.
This commit is contained in:
parent
860caf38b8
commit
5798a28516
2 changed files with 5 additions and 6 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
|
|
||||||
html {
|
body {
|
||||||
position: relative;
|
display: flex;
|
||||||
min-height: 100%;
|
flex-direction: column;
|
||||||
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
.content-section {
|
.content-section {
|
||||||
@extend .container;
|
@extend .container;
|
||||||
margin-bottom: $footer-height;
|
flex: 1 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -33,8 +33,6 @@
|
||||||
|
|
||||||
|
|
||||||
.footer-section {
|
.footer-section {
|
||||||
position: absolute;
|
|
||||||
bottom: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
color: $footer-text-color;
|
color: $footer-text-color;
|
||||||
border-top: 1px solid #bcbcbc;
|
border-top: 1px solid #bcbcbc;
|
||||||
|
|
|
||||||
Reference in a new issue