1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

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}}
</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">

View File

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