@@ -486,16 +522,26 @@ export default class BCarousel extends LitElement {
@touchstart="${this._eventHandler}"
class=${classMap({
'slides-wrapper': true,
+ 'slides-wrapper--normal': !this.vertical,
+ 'slides-wrapper--vertical': this.vertical,
'no-transition': this._isDragging,
})}
- style="transform: translate3d(${this._externalWrapperTranslate()}px, 0px, 0px); --banana-carousel-slidesPerView: ${this
+ style="transform: translate3d(${translateX}px, ${translateY}px, 0px); --banana-carousel-slidesPerView: ${this
._slidesPerView}; --banana-carousel-gap: ${this.gap}"
>
-