style: change carousel snaps position

This commit is contained in:
trafficlunar 2025-07-16 17:04:59 +01:00
parent 718454b488
commit 0988c4ee39

View file

@ -81,7 +81,7 @@ export default function Carousel({ images, className }: Props) {
<Icon icon="ic:round-chevron-right" /> <Icon icon="ic:round-chevron-right" />
</button> </button>
<div className="flex justify-center gap-2 absolute left-1/2 -translate-x-1/2 bottom-2"> <div className="flex justify-center p-2 gap-2 absolute right-0">
{scrollSnaps.map((_, index) => ( {scrollSnaps.map((_, index) => (
<button <button
key={index} key={index}