diff --git a/public/css/style.css b/public/css/style.css index 9d9ca96..01c7552 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -160,3 +160,12 @@ img.operator { margin-bottom:5px; font-size: 16px; } + +.note-content{ + font: 15px "Lucida Grande", Helvetica, Arial, sans-serif; + white-space:pre-wrap; + white-space:-moz-pre-wrap; + white-space:-pre-wrap; + white-space:-o-pre-wrap; + word-wrap:break-word; +} diff --git a/public/views/dialog-del-note.html b/public/views/dialog-del-note.html index 512c4a0..1229377 100644 --- a/public/views/dialog-del-note.html +++ b/public/views/dialog-del-note.html @@ -1,8 +1,6 @@

删除提示

-

您确认要删除备忘:

- {{ content | characters:600:false }} -

+
{{ content | characters:600:false  }}

如果删除该备忘,那么再也无法查看到。

diff --git a/public/views/dialog-detail-note.html b/public/views/dialog-detail-note.html index 28e8448..dd7e46e 100644 --- a/public/views/dialog-detail-note.html +++ b/public/views/dialog-detail-note.html @@ -1,7 +1,6 @@

备忘详情

-

{{ content }} -

+
{{ content }}
diff --git a/public/views/note.html b/public/views/note.html index aeaff5f..3bf1f2c 100644 --- a/public/views/note.html +++ b/public/views/note.html @@ -16,9 +16,9 @@
-
+
- {{ note.content }} +
{{ note.content }}