File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ const columns = columnConfigs.map((config, columnIndex) => ({
5050 <SectionHeading eyebrow ={ eyebrow } heading ={ heading } align =" center" />
5151
5252 <div class =" testimonials-wrapper relative" data-testimonials >
53- <div class =" testimonials-columns testimonials-fade grid h-[320px] gap-3 overflow-hidden sm:h-[380px] sm:grid-cols-2 lg:h-[440px] lg:grid-cols-3" >
53+ <div class =" testimonials-columns testimonials-fade grid h-80 gap-3 overflow-hidden sm:h-[380px] sm:grid-cols-2 lg:h-[440px] lg:grid-cols-3" >
5454 { columns .map ((column ) => (
5555 <div class :list = { [column .className , column .directionClass ]} >
5656 <div class = " flex flex-col gap-3" >
@@ -99,6 +99,11 @@ const columns = columnConfigs.map((config, columnIndex) => ({
9999 animation-play-state: running;
100100 }
101101
102+ :global([data-testimonials-playing]:hover) .testimonial-col > div,
103+ :global([data-testimonials-playing]:focus-within) .testimonial-col > div {
104+ animation-play-state: paused;
105+ }
106+
102107 @keyframes scroll-up {
103108 from { transform: translateY(0); }
104109 to { transform: translateY(-50%); }
You can’t perform that action at this time.
0 commit comments