Stick footer to bottom, finally
This commit is contained in:
parent
e4c438450b
commit
c420e79ff0
2 changed files with 9 additions and 1 deletions
|
@ -73,8 +73,14 @@ img {
|
|||
|
||||
/* @end Functional */
|
||||
|
||||
.content-wrapper {
|
||||
min-height: %(~"calc(100% - %d)", @footer-height);
|
||||
}
|
||||
|
||||
/* @group Footer */
|
||||
@footer-height: 200px;
|
||||
footer {
|
||||
height: @footer-height;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
padding-top: 10px;
|
||||
|
|
|
@ -10,7 +10,9 @@
|
|||
<link rel="shortcut icon" href=""/>
|
||||
</head>
|
||||
<body class="{{ body_class }}">
|
||||
{% block baseContent%}{% endblock %}
|
||||
<div class="content-wrapper">
|
||||
{% block baseContent%}{% endblock %}
|
||||
</div>
|
||||
<footer>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
|
Reference in a new issue