mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Button): icon button vertical align (#7636)
This commit is contained in:
parent
09c292aeb2
commit
1794513ae5
@ -151,6 +151,12 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
|
// fix icon vertical align
|
||||||
|
// see: https://github.com/youzan/vant/issues/7617
|
||||||
|
&::before {
|
||||||
|
content: ' ';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&__icon {
|
&__icon {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user