mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 15:23:38 +08:00
QR code display fix on dark backgrounds (#5613)
https://meta.discourse.org/t/2fa-qr-code-not-visible-on-dark-theme/81152?u=awole20
This commit is contained in:
parent
3ec8b38796
commit
d2b518c61c
|
@ -48,7 +48,11 @@
|
|||
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
{{{secondFactorImage}}}
|
||||
<div class="qr-code-container">
|
||||
<div class="qr-code">
|
||||
{{{secondFactorImage}}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
{{#if showSecondFactorKey}}
|
||||
|
|
|
@ -565,3 +565,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
.qr-code-container {
|
||||
display: flex;
|
||||
.qr-code {
|
||||
padding: 5px 5px 0 5px;
|
||||
background-color: white;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user