From 402bce0372c14e06f131cf28fbfbfe88a217e177 Mon Sep 17 00:00:00 2001 From: fen Date: Sun, 20 Oct 2013 20:19:05 +0800 Subject: [PATCH] fixed issue #9 --- admin/css/style.css | 2 ++ admin/scss/components/_editor.scss | 1 + 2 files changed, 3 insertions(+) diff --git a/admin/css/style.css b/admin/css/style.css index 9af949d7..a2ae70f8 100644 --- a/admin/css/style.css +++ b/admin/css/style.css @@ -1098,6 +1098,8 @@ a.operate-reply { #wmd-preview { background: #FFF; padding: 10px 20px; } + #wmd-preview img { + max-width: 100%; } /** * Jquery Timepicker diff --git a/admin/scss/components/_editor.scss b/admin/scss/components/_editor.scss index dc9dc2f3..de015c3d 100644 --- a/admin/scss/components/_editor.scss +++ b/admin/scss/components/_editor.scss @@ -64,4 +64,5 @@ #wmd-preview { background: #FFF; padding: 10px 20px; + img { max-width: 100%; } } \ No newline at end of file