fix: whitespace between radio buttons caused by inline-block in Radio.Group (#25304)

* fix: whitespace between radio buttons caused by inline-block

* fix: stylelint
This commit is contained in:
James Yeung 2020-06-30 15:01:37 +08:00 committed by GitHub
parent 53b232de29
commit 843a41a114
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,7 @@
.reset-component;
display: inline-block;
font-size: 0;
line-height: unset;
.@{ant-prefix}-badge-count {
@ -165,6 +166,7 @@ span.@{radio-prefix-cls} + * {
margin: 0;
padding: 0 @padding-md - 1px;
color: @radio-button-color;
font-size: @font-size-base;
line-height: @btn-height-base - 2px;
background: @radio-button-bg;
border: @border-width-base @border-style-base @border-color-base;