Skip to content

Commit e021a16

Browse files
committed
add zIndex
1 parent b5d0dad commit e021a16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/block/carousel/frontend-carousel.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ class _StackableCarousel {
9292
const original = this.slideEls[ slideIndex ]
9393
const clone = original.cloneNode( true )
9494
clone.classList.add( `stk-slide-clone-${ slideIndex + 1 }` )
95+
clone.style.zIndex = -1
9596
original.style.willChange = 'transform'
9697
original.style.transform = 'TranslateX( 0 )'
9798

0 commit comments

Comments
 (0)