fix(theme): [slider] fix css var not effective (#790)

This commit is contained in:
gimmyhehe 2023-11-10 01:24:27 -08:00 committed by GitHub
parent 07321e9f7e
commit c67a7d958f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -18,6 +18,7 @@
@slider-container-prefix-cls: ~'@{css-prefix}slider-container';
.@{slider-container-prefix-cls} {
.component-css-vars-slider();
position: relative;
&&__horizontal {
@ -27,10 +28,6 @@
}
.@{slider-prefix-cls} {
&__wrapper {
.component-css-vars-slider();
}
border-radius: var(--ti-slider-border-radius);
height: var(--ti-slider-height);
position: relative;