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 {
|
||||
position: relative;
|
||||
min-height: 100%;
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Reference in a new issue