fix footer

This commit is contained in:
Matěj Divecký 2022-08-27 12:58:02 +02:00
parent 0157afbf52
commit be7b62ee00
2 changed files with 17 additions and 9 deletions

View file

@ -1,9 +0,0 @@
body {
margin-bottom: 60px; /* Margin bottom by footer height */
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
}

View file

@ -3,6 +3,23 @@
<head>
{% include 'parts/head.html' %}
<style>
html {
position: relative;
min-height: 100%;
}
body {
margin-bottom: 60px; /* Margin bottom by footer height */
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
}
</style>
</head>
<body class="d-flex flex-column h-100">