1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00: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

Submodule jslib updated: cdbe08ae7e...647b254a71

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;