mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
Fix some form components align
This commit is contained in:
parent
525efb8c76
commit
24f0359e2d
@ -121,7 +121,7 @@ input[type="checkbox"] {
|
||||
}
|
||||
|
||||
.@{ant-prefix}-switch {
|
||||
margin: 4px 0;
|
||||
margin: 2px 0 4px;
|
||||
}
|
||||
|
||||
&-no-colon &-label label:after {
|
||||
|
@ -5,6 +5,7 @@
|
||||
|
||||
.@{rate-prefix-cls} {
|
||||
.reset-component;
|
||||
line-height: unset;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user