mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 12:06:44 +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%;
|
font-size: 110%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bg-qr-code {
|
||||||
|
background-color: #FFF !important;
|
||||||
|
}
|
||||||
|
|
||||||
.qr-code {
|
.qr-code {
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
max-height: 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).' %}
|
{% trans 'Scan the QR code below with a token generator of your choice (for instance Google Authenticator).' %}
|
||||||
</p>
|
</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"/>
|
<img src="{{ qr_code_url }}" alt="{% trans 'QC Code' %}" class="mx-auto d-block"/>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user