diff --git a/web/core/Carousel/Carousel.tsx b/web/core/Carousel/Carousel.tsx index fb8e950a0..c0d95b0aa 100644 --- a/web/core/Carousel/Carousel.tsx +++ b/web/core/Carousel/Carousel.tsx @@ -358,7 +358,7 @@ export const Carousel = forwardRef(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 === 3 ? 'lg:hidden' : ''} flex ${ + } pt-2 sm:pt-6 pb-2 ${items.length === 3 ? 'lg:hidden' : ''} flex ${ internalAutoRotation ? 'justify-between' : 'justify-end' }`} > diff --git a/web/core/Carousel/CarouselImageItem.tsx b/web/core/Carousel/CarouselImageItem.tsx index c16805ca0..c0810339d 100644 --- a/web/core/Carousel/CarouselImageItem.tsx +++ b/web/core/Carousel/CarouselImageItem.tsx @@ -60,19 +60,19 @@ export const CarouselImageItem = forwardRef
{caption && {caption}} - {attribution && {attribution}} + {attribution && {attribution}}