Skip to content

Commit

Permalink
chore: fix css style
Browse files Browse the repository at this point in the history
  • Loading branch information
yesmeck committed Aug 9, 2019
1 parent 64f1aa0 commit 57833a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/button/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,11 @@
}

a.@{btn-prefix-cls} {
line-height: @btn-height-base - 2px;
// Fixing https://github.com/ant-design/ant-design/issues/12978
// It is a render problem of chrome, which is only happened in the codesandbox demo
// 0.1px for padding-top solution works and I don't why
padding-top: 0.1px;
line-height: @btn-height-base - 2px;

&-lg {
line-height: @btn-height-lg - 2px;
Expand Down

0 comments on commit 57833a2

Please sign in to comment.