Browse Source

Fix Button[icon] vertical align issue

close #12972

test codesandbox url: https://codesandbox.io/s/2p8k935jjp
pull/12982/head
afc163 6 years ago
parent
commit
95ac6bf673
  1. 2
      components/button/style/mixin.less

2
components/button/style/mixin.less

@ -118,7 +118,6 @@
> .@{btnClassName},
> span > .@{btnClassName} {
position: relative;
line-height: @btn-height-base - 2px;
&:hover,
&:focus,
@ -168,6 +167,7 @@
> .@{iconfont-css-prefix} {
line-height: 1;
vertical-align: -0.19em;
}
&,

Loading…
Cancel
Save