fix: Button align issue (#30006)

close #29978
This commit is contained in:
afc163 2021-04-03 22:27:46 +08:00 committed by GitHub
parent 13a829d20c
commit 87c8b5a180
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -237,9 +237,10 @@
a.@{btn-prefix-cls} {
// Fixing https://github.com/ant-design/ant-design/issues/12978
// https://github.com/ant-design/ant-design/issues/29978
// 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;
padding-top: 0.01px !important;
line-height: @btn-height-base - 2px;
&-lg {