소스 검색

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

Yahoo 4 년 전
부모
커밋
5641aaf3fe
1개의 변경된 파일과 1개의 추가작업 그리고 0개의 파일을 삭제
  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;
 }