Parcourir la source

dev: mp-html图片去除底部间距

Yahoo il y a 4 ans
Parent
commit
5641aaf3fe
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      uni_modules/mp-html/components/mp-html/node/node.vue

+ 1 - 0
uni_modules/mp-html/components/mp-html/node/node.vue

@@ -366,6 +366,7 @@ export default {
 
 /* 图片默认效果 */
 ._img {
+  display: block;
   max-width: 100%;
   -webkit-touch-callout: none;
 }