Skip to content

Commit

Permalink
Merge branch 'malj/2589' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
millianapia committed Nov 14, 2024
2 parents 88deb02 + 423d80e commit eb6811d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/core/Carousel/Carousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ export const Carousel = forwardRef<HTMLElement, CarouselProps>(function Carousel
return (
<CarouselIframeItem
className="pt-lg"
key={item.id}
key={(item as IFrameCarouselItemData)._key}
noOfSiblings={items.length}
displayMode={displayMode}
aria-label={ariaLabel}
Expand Down Expand Up @@ -356,7 +356,7 @@ export const Carousel = forwardRef<HTMLElement, CarouselProps>(function Carousel
variant === 'image' && displayMode === 'single'
? 'w-[var(--image-carousel-card-w-sm)] md:w-[var(--image-carousel-card-w-md)] lg:w-[var(--image-carousel-card-w-lg)] mx-auto col-start-1 col-end-1 row-start-2 row-end-2'
: ''
} pt-6 pb-2 ${items.length === 2 ? 'lg:hidden' : ''} flex ${
} pt-6 pb-2 ${items.length === 3 ? 'lg:hidden' : ''} flex ${
internalAutoRotation ? 'justify-between' : 'justify-end'
}`}
>
Expand Down

0 comments on commit eb6811d

Please sign in to comment.