Ver código fonte

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

Yahoo 4 anos atrás
pai
commit
5641aaf3fe

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

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