fix(Button): icon button vertical align (#7636)

This commit is contained in:
neverland 2020-11-25 20:55:04 +08:00 committed by GitHub
parent 09c292aeb2
commit 1794513ae5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,6 +151,12 @@
align-items: center;
justify-content: center;
height: 100%;
// fix icon vertical align
// see: https://github.com/youzan/vant/issues/7617
&::before {
content: ' ';
}
}
&__icon {