mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
feat: custom slider handle margin left in the vertical direction (#37001)
This commit is contained in:
parent
ca73f6e3f1
commit
4b1b0e3d00
@ -178,7 +178,7 @@
|
||||
|
||||
.@{slider-prefix-cls}-handle {
|
||||
margin-top: -6px; // we chould consider border width as well: (10 + 2 ) / 2
|
||||
margin-left: -5px;
|
||||
margin-left: @slider-handle-margin-left;
|
||||
}
|
||||
|
||||
.@{slider-prefix-cls}-mark {
|
||||
|
@ -893,6 +893,7 @@
|
||||
@slider-handle-color-tooltip-open: @primary-color;
|
||||
@slider-handle-size: 14px;
|
||||
@slider-handle-margin-top: -5px;
|
||||
@slider-handle-margin-left: -5px;
|
||||
@slider-handle-shadow: 0;
|
||||
@slider-dot-border-color: @border-color-split;
|
||||
@slider-dot-border-color-active: tint(@primary-color, 50%);
|
||||
|
@ -948,6 +948,7 @@
|
||||
@slider-handle-color-tooltip-open: @primary-color;
|
||||
@slider-handle-size: 14px;
|
||||
@slider-handle-margin-top: -5px;
|
||||
@slider-handle-margin-left: -5px;
|
||||
@slider-handle-shadow: 0;
|
||||
@slider-dot-border-color: @border-color-split;
|
||||
@slider-dot-border-color-active: ~'var(--@{ant-prefix}-primary-color-deprecated-t-50)';
|
||||
|
Loading…
Reference in New Issue
Block a user