Skip to content

Commit cc03138

Browse files
committed
Don't slow down images marquee on hover
1 parent c345ec2 commit cc03138

File tree

1 file changed

+1
-2
lines changed
  • src/app/conf/2025/components/gallery-strip

1 file changed

+1
-2
lines changed

src/app/conf/2025/components/gallery-strip/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ export function GalleryStrip({ className, ...rest }: GalleryStripProps) {
4444
<Marquee
4545
gap={8}
4646
speed={35}
47-
speedOnHover={15}
4847
drag
4948
reverse
5049
className="cursor-[var(--cursor-grabbing,grab)] !overflow-visible"
@@ -76,7 +75,7 @@ function GalleryStripImage({
7675
role="presentation"
7776
// intrinsic 799x533
7877
height={320}
79-
width={index % 4 === 2 ? 200 : index % 3 === 2 ? 420 : 480}
78+
width={index % 4 === 2 ? 256 : index % 3 === 2 ? 420 : 480}
8079
className="pointer-events-none h-[320px] object-cover"
8180
/>
8281
</div>

0 commit comments

Comments
 (0)