张延森 3 年之前
父節點
當前提交
0564fc8ce6
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/pages/NoticeInfo/index.jsx

+ 1
- 1
src/pages/NoticeInfo/index.jsx 查看文件

@@ -24,7 +24,7 @@ export default (props) => {
24 24
 
25 25
   const htmlSnip = content?.content
26 26
                     .replace(/<\/p>/g, '</p><p style="height: 1em">&nbsp;</p>')
27
-                    .replace(/<img src/g, '<img style="width: 100%" src')
27
+                    .replace(/<img src/g, '<img style="display: block; max-width: 100%" src')
28 28
 
29 29
   return (
30 30
     <>