Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/common/Testimonial/TestimonialCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ const TestimonialCard = ({ home, quote, name, avatarUrl, category, created_at, e
</div>

<div className="mx-2 mt-4">
<blockquote className={`${home && 'h-32'} max-h-32 px-6 overflow-y-auto`}>
<blockquote
className={`${home ? 'h-32' : ''} max-h-32 px-6 overflow-y-auto`}
style={{ touchAction: 'pan-y' }}
>
<p
className="leading-relaxed text-gray-700"
dangerouslySetInnerHTML={{ __html: replaceWithBr() }}
Expand Down
2 changes: 2 additions & 0 deletions src/common/Testimonial/TestimonialSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ function TestimonialSection() {
<div className="mx-5 lg:mx-20 h-72 mt-16 sm:mt-20">
<Swiper
rewind
grabCursor
autoplay={{
delay: 2500,
disableOnInteraction: false
Expand All @@ -56,6 +57,7 @@ function TestimonialSection() {
}}
slidesPerView={1}
spaceBetween={10}
touchEventsTarget="container"
>
{testimonials &&
testimonials.map((testimonial) => (
Expand Down
Loading