1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 18:34:25 +01:00

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

View File

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