Skip to content

Commit aa8834d

Browse files
fix: 🐛 修复 Slider 滑块处于极值时会遮挡max和min的问题
Closes: #714
1 parent 0b7605f commit aa8834d

File tree

1 file changed

+2
-2
lines changed
  • src/uni_modules/wot-design-uni/components/wd-slider

1 file changed

+2
-2
lines changed

src/uni_modules/wot-design-uni/components/wd-slider/index.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@
7676
box-shadow: 0 2px 4px 0 rgba($color: #9b9b9b, $alpha: 0.5);
7777
}
7878
@include e(label-min) {
79-
margin-right: $-slider-handle-radius + 11px;
79+
margin-right: calc($-slider-handle-radius * 2);
8080
}
8181
@include e(label-max) {
82-
margin-left: $-slider-handle-radius + 11px;
82+
margin-left: calc($-slider-handle-radius * 2);
8383
}
8484
@include m(disabled) {
8585
@include me(bar) {

0 commit comments

Comments
 (0)