From f770b5256605d74dd21a53a1a9b9d223ba448e2a Mon Sep 17 00:00:00 2001 From: Felix Hammerl Date: Tue, 18 Feb 2014 12:37:10 +0100 Subject: [PATCH] hide cyphertext from dom --- src/sass/views/_read.scss | 2 +- src/tpl/read.html | 15 +++++++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/sass/views/_read.scss b/src/sass/views/_read.scss index 1e387fb..c3ab26d 100644 --- a/src/sass/views/_read.scss +++ b/src/sass/views/_read.scss @@ -85,7 +85,7 @@ height: 100%; overflow-y: scroll; - div { + &.line { word-wrap: break-word; &.empty-line { diff --git a/src/tpl/read.html b/src/tpl/read.html index 2f0184a..6155e88 100644 --- a/src/tpl/read.html +++ b/src/tpl/read.html @@ -36,10 +36,17 @@ -
- -
- {{line}}
+
+
+
+ +
+ {{line}}
+
+
+
+ This message contains encrypted content. +