mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
fix Checkbox and Radio text alignment with form label, close #5276
This commit is contained in:
parent
3002ff33c4
commit
696a3c0e34
@ -10,7 +10,7 @@
|
||||
display: inline-block;
|
||||
line-height: 1;
|
||||
position: relative;
|
||||
vertical-align: middle;
|
||||
vertical-align: text-bottom;
|
||||
|
||||
.@{checkbox-prefix-cls}-wrapper:hover &,
|
||||
&:hover &-inner,
|
||||
@ -131,7 +131,6 @@
|
||||
.@{checkbox-prefix-cls} + span {
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.@{checkbox-prefix-cls}-group {
|
||||
|
@ -27,7 +27,7 @@
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
line-height: 1;
|
||||
vertical-align: middle;
|
||||
vertical-align: text-bottom;
|
||||
cursor: pointer;
|
||||
.@{radio-prefix-cls}-wrapper:hover &,
|
||||
&:hover,
|
||||
@ -110,7 +110,6 @@
|
||||
span.@{radio-prefix-cls} + * {
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.@{radio-prefix-cls}-button-wrapper {
|
||||
|
Loading…
Reference in New Issue
Block a user