From c2340c2f6f2aec0be12a6d7c65fbf800e323f5dc Mon Sep 17 00:00:00 2001 From: ruibaby Date: Fri, 3 Aug 2018 10:24:00 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86?= =?UTF-8?q?=E4=B8=BB=E9=A2=98=E7=9A=84=E8=AF=84=E8=AE=BA=E6=A1=86=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E6=B7=B7=E4=B9=B1=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/templates/common/comment/_native_comment.ftl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/resources/templates/common/comment/_native_comment.ftl b/src/main/resources/templates/common/comment/_native_comment.ftl index 1080ea5ff..7702549d6 100644 --- a/src/main/resources/templates/common/comment/_native_comment.ftl +++ b/src/main/resources/templates/common/comment/_native_comment.ftl @@ -19,6 +19,13 @@ padding: 10px; } + .native-comment img{ + display: inline-block;!important; + max-width: 100%;!important; + height: auto;!important; + margin: auto;!important; + } + .native-wrap { border: 1px solid #f0f0f0; padding: 10px;