Fix some form components align

This commit is contained in:
afc163 2017-12-22 15:22:22 +08:00
parent 525efb8c76
commit 24f0359e2d
3 changed files with 4 additions and 2 deletions

View File

@ -121,7 +121,7 @@ input[type="checkbox"] {
}
.@{ant-prefix}-switch {
margin: 4px 0;
margin: 2px 0 4px;
}
&-no-colon &-label label:after {

View File

@ -5,6 +5,7 @@
.@{rate-prefix-cls} {
.reset-component;
line-height: unset;
margin: 0;
padding: 0;
list-style: none;

View File

@ -10,11 +10,12 @@
@slider-tooltip-arrow-width: 4px;
@slider-tooltip-distance: @slider-tooltip-arrow-width + 4px;
@slider-tooltip-arrow-color: @slider-tooltip-bg;
@slider-margin: 14px 6px 10px;
.@{slider-prefix-cls} {
.reset-component;
position: relative;
margin: 10px 6px;
margin: @slider-margin;
padding: 4px 0;
height: 12px;
cursor: pointer;