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