CSS fix for 2FA token (#5000)

- Enforce white background for the QR code
This commit is contained in:
Oliver 2023-06-09 01:09:12 +10:00 committed by GitHub
parent e807339c55
commit f1031efa93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -105,6 +105,10 @@ main {
font-size: 110%;
}
.bg-qr-code {
background-color: #FFF !important;
}
.qr-code {
max-width: 400px;
max-height: 400px;

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>