CSS fix for 2FA token (#5000)

- Enforce white background for the QR code
This commit is contained in:
Oliver authored and GitHub committed 2023-06-09 01:09:12 +10:00
1 parent e807339c55
commit f1031efa93
2 files changed
+5 -1

No files matched your search

@@ -105,6 +105,10 @@ main {
font-size: 110%;
}
.bg-qr-code {
background-color: #FFF !important;
}
.qr-code {
max-width: 400px;
max-height: 400px;
+1 -1
View File
@@ -14,7 +14,7 @@
{% trans 'Scan the QR code below with a token generator of your choice (for instance Google Authenticator).' %}
</p>
<div class="bg-light rounded">
<div class="bg-qr-code rounded">
<img src="{{ qr_code_url }}" alt="{% trans 'QC Code' %}" class="mx-auto d-block"/>
</div>
<br>