fix(NavBar): fix icon style error (#2331)

fix #2322
This commit is contained in:
rex 2019-11-18 21:04:25 +08:00 committed by GitHub
parent 7afb5795bf
commit 1edbbd18af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
@import '@vant/icons/src/index.less';
:host {
display: flex;
display: inline-flex;
align-items: center;
justify-content: center;
}

View File

@ -13,7 +13,7 @@
display: inline-block;
vertical-align: middle;
.theme(margin, '0 -@padding-md');
.theme(padding, '0 -@padding-md');
.theme(padding, '0 @padding-md');
.theme(color, '@nav-bar-text-color');
&--hover {