layout.html: Wrap content in container

Bootstrap requires us to wrap the content in a container any time the
grid system is used. Wrapping the content with a <div class="container">
fixes some padding issues we have with the frontend on small screens.

Signed-off-by: Thomas Schmid <tom@lfence.de>
This commit is contained in:
Thomas 2022-11-17 19:10:53 +01:00
parent 4aac66d8e0
commit f89c9a86c9
1 changed files with 3 additions and 1 deletions

View File

@ -8,7 +8,9 @@
<link href="/static/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
{% block content %}{%- endblock content %}
<div class="container">
{% block content %}{%- endblock content %}
</div>
<div class="footer-copyright text-center py-3 small">
Ralf Ramsauer &copy; 2018 Binary Kitchen e.V.
</div>