1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-24 11:55:50 +01:00

pre-wrap notes field, resolves #238

This commit is contained in:
Kyle Spearrin 2019-03-28 12:09:08 -04:00
parent 25a43b7618
commit 4397c0ed5d
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -110,8 +110,8 @@
overflow-x: auto;
}
&.pre-line {
white-space: pre-line;
&.pre-wrap {
white-space: pre-wrap;
overflow-x: auto;
}