Skip to content

Commit

Permalink
update carousel
Browse files Browse the repository at this point in the history
  • Loading branch information
mkue committed Aug 12, 2024
1 parent 3a1b7c6 commit 1752947
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/src/components/carousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ const CarouselDots = ({ itemsLength, selectedIndex, onClick }: CarouselDots) =>
key={index}
className={cn('bg-muted-foreground h-2 w-2 rounded-full transition-all duration-300', {
'opacity-50': !selected,
'cursor-pointer': onClick,
})}
onClick={() => onClick?.(index)}
></div>
Expand Down

0 comments on commit 1752947

Please sign in to comment.