Parcourir la source

详情页图片添加最大宽度

zhangxc il y a 6 ans
Parent
commit
28ecb54309

+ 3 - 0
src/components/PushItems/DetailsModal/index.less

@@ -5,6 +5,9 @@
     left: 0;
     top: 0;
     z-index: 205;
+    img {
+        max-width: 100%;
+    }
 }
 
 .details-content-wrapper {

+ 1 - 0
src/components/TreatDesc/DrugInfo/index.less

@@ -11,6 +11,7 @@
     padding: 40px 0 60px;
     box-shadow: 0px 0px 5px -2px #7d7c7c;
     word-break: break-all;
+    max-width: 100%;
 }
 .drug-desc-wrapper {
     height: 100%;