fix Checkbox and Radio text alignment with form label, close #5276

This commit is contained in:
afc163 2017-03-13 12:43:33 +08:00
parent 3002ff33c4
commit 696a3c0e34
2 changed files with 2 additions and 4 deletions

View File

@ -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 {

View File

@ -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 {