mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
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:
parent
53b232de29
commit
843a41a114
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user