Fix Button[href] 1px align bug

close #12978
This commit is contained in:
afc163 2018-11-06 15:41:50 +08:00
parent 95ac6bf673
commit adee2f3329

View File

@ -186,11 +186,13 @@
} }
a.@{btn-prefix-cls} { a.@{btn-prefix-cls} {
line-height: @btn-height-base - 2px; > span {
&-lg { line-height: @btn-height-base - 2px;
}
&-lg > span {
line-height: @btn-height-lg - 2px; line-height: @btn-height-lg - 2px;
} }
&-sm { &-sm > span {
line-height: @btn-height-sm - 2px; line-height: @btn-height-sm - 2px;
} }
} }