mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-19 11:15:21 +01:00
show whitespace for hidden fields
This commit is contained in:
parent
fd5d47da7c
commit
ca2bba5fb6
@ -120,6 +120,10 @@ p.lead {
|
||||
font-family: $font-family-monospace;
|
||||
}
|
||||
|
||||
.show-whitespace {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.img-responsive {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
@ -144,6 +148,10 @@ p.lead {
|
||||
.password-wrapper {
|
||||
display: flex !important;
|
||||
flex-wrap: wrap;
|
||||
|
||||
span {
|
||||
white-space: pre;
|
||||
}
|
||||
}
|
||||
|
||||
.password-number {
|
||||
|
@ -219,7 +219,7 @@
|
||||
{{field.value || ' '}}
|
||||
</div>
|
||||
<div *ngIf="field.type === fieldType.Hidden">
|
||||
<span [hidden]="!field.showValue" class="monospaced">{{field.value}}</span>
|
||||
<span [hidden]="!field.showValue" class="monospaced show-whitespace">{{field.value}}</span>
|
||||
<span [hidden]="field.showValue" class="monospaced">{{field.maskedValue}}</span>
|
||||
</div>
|
||||
<div *ngIf="field.type === fieldType.Boolean">
|
||||
|
Loading…
Reference in New Issue
Block a user