fix: footer placement
This commit is contained in:
@@ -1,12 +1,14 @@
|
|||||||
|
html, body {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
display: block;
|
display: block;
|
||||||
height: 100vh;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.app {
|
.app {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
height: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="app">
|
<div class="app h-100">
|
||||||
<header class="container-fluid">
|
<header class="container-fluid">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-9 col-sm-10 col-md-2">
|
<div class="col-9 col-sm-10 col-md-2">
|
||||||
@@ -46,11 +46,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<div id="content" class="content">{% block content %}{% endblock %}</div>
|
<div id="content" class="content">{% block content %}{% endblock %}</div>
|
||||||
<div id="footer" class="footer">
|
|
||||||
|
</div>
|
||||||
|
<footer class="footer">
|
||||||
{% block footer %}
|
{% block footer %}
|
||||||
© Copyright 2010 by <a href="http://domain.invalid/">you</a>.
|
© Copyright 2010 by <a href="http://domain.invalid/">you</a>.
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</footer>
|
||||||
</div>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user