fix(@vant/cli): fix img style (#8843)

This commit is contained in:
neverland 2021-06-10 09:55:21 +08:00 committed by GitHub
parent 2e889b2641
commit c983079ab8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,7 +194,8 @@ export default {
border-radius: @van-doc-border-radius; border-radius: @van-doc-border-radius;
} }
> img { > img,
> p img {
width: 100%; width: 100%;
margin: 16px 0; margin: 16px 0;
border-radius: @van-doc-border-radius; border-radius: @van-doc-border-radius;