mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-08-29 20:29:46 +08:00
fix(Slider): remove theme mixin (#4520)
This commit is contained in:
parent
5be718e195
commit
0e60dc1a7e
@ -66,8 +66,7 @@
|
|||||||
|
|
||||||
&--vertical {
|
&--vertical {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
.theme(width, '@slider-bar-height');
|
width: var(--slider-bar-height, @slider-bar-height);
|
||||||
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
.van-slider__button-wrapper,
|
.van-slider__button-wrapper,
|
||||||
@ -88,10 +87,9 @@
|
|||||||
// use pseudo element to expand click area
|
// use pseudo element to expand click area
|
||||||
&::before {
|
&::before {
|
||||||
top: 0;
|
top: 0;
|
||||||
.theme(right, '-@padding-xs');
|
right: -@padding-xs;
|
||||||
|
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
.theme(left, '-@padding-xs');
|
left: -@padding-xs;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user