mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
CSS fix for 2FA token (#5000)
- Enforce white background for the QR code
This commit is contained in:
parent
e807339c55
commit
f1031efa93
@ -105,6 +105,10 @@ main {
|
||||
font-size: 110%;
|
||||
}
|
||||
|
||||
.bg-qr-code {
|
||||
background-color: #FFF !important;
|
||||
}
|
||||
|
||||
.qr-code {
|
||||
max-width: 400px;
|
||||
max-height: 400px;
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user