notes white-space is pre-line

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

2
jslib

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

View File

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

View File

@ -204,7 +204,7 @@
{{'notes' | i18n}}
</div>
<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 class="box" *ngIf="cipher.hasFields">