notes white-space is pre-line

This commit is contained in:
Kyle Spearrin 2019-02-11 22:16:22 -05:00
parent 555fae4e6f
commit e0c7cb4bd6
3 changed files with 7 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit cdbe08ae7eb9f0b127ebc2e28de287ff8096aebc Subproject commit 647b254a71d0af105e1f6f1a1febeb15cd4181fb

View File

@ -194,7 +194,7 @@
{{'notes' | i18n}} {{'notes' | i18n}}
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="box-content-row pre">{{cipher.notes}}</div> <div class="box-content-row pre-line">{{cipher.notes}}</div>
</div> </div>
</div> </div>
<div class="box" *ngIf="cipher.hasFields"> <div class="box" *ngIf="cipher.hasFields">

View File

@ -87,6 +87,11 @@
overflow-x: auto; overflow-x: auto;
} }
&.pre-line {
white-space: pre-line;
overflow-x: auto;
}
.row-label, label { .row-label, label {
font-size: $font-size-small; font-size: $font-size-small;
display: block; display: block;