fix QR code alingment

This commit is contained in:
Matthias Mair 2021-11-06 15:11:31 +00:00
parent ad5ba96278
commit bbd723a176
2 changed files with 1 additions and 7 deletions

View File

@ -125,12 +125,6 @@
align-content: center; align-content: center;
} }
.qr-container {
width: 100%;
align-content: center;
object-fit: fill;
}
.navbar { .navbar {
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
background-color: var(--secondary-color); background-color: var(--secondary-color);

View File

@ -3,7 +3,7 @@
<div class='container' style='width: 80%;'> <div class='container' style='width: 80%;'>
{% if qr_data %} {% if qr_data %}
<div class='qr-container'> <div class='d-flex justify-content-center'>
<img src="{% qrcode qr_data %}"> <img src="{% qrcode qr_data %}">
</div> </div>
{% else %} {% else %}