Skip to content

Commit

Permalink
Fix Button[href] 1px align bug
Browse files Browse the repository at this point in the history
close #12978
  • Loading branch information
afc163 committed Nov 6, 2018
1 parent 95ac6bf commit adee2f3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions components/button/style/index.less
Expand Up @@ -186,11 +186,13 @@
}

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

1 comment on commit adee2f3

@afc163
Copy link
Member Author

@afc163 afc163 commented on adee2f3 Nov 12, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reverted and use another way to fix #12978 at 664089e

Please sign in to comment.