mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-28 12:35:40 +01:00
show whitespace for hidden fields
This commit is contained in:
parent
8dff57e89e
commit
2ccbcb75bf
@ -209,7 +209,7 @@
|
|||||||
{{field.value || ' '}}
|
{{field.value || ' '}}
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="field.type === fieldType.Hidden">
|
<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>
|
<span [hidden]="field.showValue" class="monospaced">{{field.maskedValue}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="field.type === fieldType.Boolean">
|
<div *ngIf="field.type === fieldType.Boolean">
|
||||||
|
@ -92,6 +92,10 @@ p.lead {
|
|||||||
font-family: $font-family-monospace;
|
font-family: $font-family-monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.show-whitespace {
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
|
|
||||||
.sr-only {
|
.sr-only {
|
||||||
position: absolute !important;
|
position: absolute !important;
|
||||||
width: 1px !important;
|
width: 1px !important;
|
||||||
@ -182,6 +186,10 @@ p.lead {
|
|||||||
.password-wrapper {
|
.password-wrapper {
|
||||||
display: flex !important;
|
display: flex !important;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|
||||||
|
span {
|
||||||
|
white-space: pre;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.password-number {
|
.password-number {
|
||||||
|
Loading…
Reference in New Issue
Block a user