diff --git a/src/components/carousel/carousel.component.ts b/src/components/carousel/carousel.component.ts index 778c081e..24db6f31 100644 --- a/src/components/carousel/carousel.component.ts +++ b/src/components/carousel/carousel.component.ts @@ -507,11 +507,11 @@ export default class SlCarousel extends ShoelaceElement { id="scroll-container" part="scroll-container" class="${classMap({ - carousel__slides: true, - 'carousel__slides--horizontal': this.orientation === 'horizontal', - 'carousel__slides--vertical': this.orientation === 'vertical', - 'carousel__slides--dragging': this.dragging - })}" + carousel__slides: true, + 'carousel__slides--horizontal': this.orientation === 'horizontal', + 'carousel__slides--vertical': this.orientation === 'vertical', + 'carousel__slides--dragging': this.dragging + })}" style="--slides-per-page: ${this.slidesPerPage};" aria-busy="${scrolling ? 'true' : 'false'}" aria-atomic="true" @@ -525,15 +525,15 @@ export default class SlCarousel extends ShoelaceElement { ${this.navigation - ? html` + ? html`
` - : ''} + : ''} ${this.pagination - ? html` -