Skip to content
Snippets Groups Projects
Commit 9337c278 authored by Olivia206's avatar Olivia206
Browse files

fixed splide pagination position

parent 12bfbf12
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,6 @@ class Carousel {
});
this.splide.on('autoplay:playing', (rate) => {
// toggleButton.classList.add('is-active');
var activeStepButton = this.splide.root.querySelector('.splide__pagination .is-active i');
activeStepButton.style.width = rate * 100 + '%';
......
......@@ -36,12 +36,13 @@
margin-right: calc(#{$grid-gutter} / 2)
.splide
display: flex
flex-direction: column-reverse
.splide__slider
display: flex
flex-direction: column-reverse
&__toggle
// @include button-reset
border: 1px solid $block-testimonials-pagination-background
border-radius: 50%
cursor: pointer
font-size: 0
height: 42px
padding: 0
......
......@@ -39,7 +39,6 @@
&.is-active
&::before
background-color: $link-color
&__toggle
&__pause
@include icon-block(pause)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment