From e0c7cb4bd6bab330304b4fe4a9a485fb86fe9ae9 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 11 Feb 2019 22:16:22 -0500 Subject: [PATCH] notes white-space is pre-line --- jslib | 2 +- src/app/vault/view.component.html | 2 +- src/scss/box.scss | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/jslib b/jslib index cdbe08ae..647b254a 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit cdbe08ae7eb9f0b127ebc2e28de287ff8096aebc +Subproject commit 647b254a71d0af105e1f6f1a1febeb15cd4181fb diff --git a/src/app/vault/view.component.html b/src/app/vault/view.component.html index e950d362..a7d83703 100644 --- a/src/app/vault/view.component.html +++ b/src/app/vault/view.component.html @@ -194,7 +194,7 @@ {{'notes' | i18n}}
-
{{cipher.notes}}
+
{{cipher.notes}}
diff --git a/src/scss/box.scss b/src/scss/box.scss index 72e6e75b..a1648af6 100644 --- a/src/scss/box.scss +++ b/src/scss/box.scss @@ -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;