Skip to content

Commit 39b7f79

Browse files
authored
Merge pull request #1875 from hrx01-dev/fix/overlapping-inTestimonialandTopmatecard
Fixed overlapping between testimonial and topmate card in Mobile view
2 parents 4cea535 + 86ae36f commit 39b7f79

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/topmate/TopMateCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const TopMateCard: React.FC<TopMateCardProps> = ({
4848
initial={{ opacity: 0, y: 30, scale: 0.97 }}
4949
animate={{ opacity: 1, y: 0, scale: 1 }}
5050
transition={{ duration: 0.6, ease: [0.25, 0.46, 0.45, 0.94] }}
51-
className="group relative flex h-90 w-full flex-col overflow-hidden rounded-2xl transition-all duration-500 hover:scale-[1.008]"
51+
className="group relative flex min-h-[360px] w-full flex-col overflow-hidden rounded-2xl transition-all duration-500 hover:scale-[1.008]"
5252
style={{
5353
background: isDark ? "#0a0a0a" : "#ffffff",
5454
border: `1px solid ${borderClr}`,

src/components/topmate/TopMateSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const TopMateSection = ({ setShowTopmate }) => {
3030
};
3131

3232
return (
33-
<div className="relative flex flex-col w-full h-90">
33+
<div className="relative flex flex-col w-full">
3434
<div className="relative flex w-full flex-col justify-between">
3535
{/* Section header — unified height & centered alignment */}
3636
<motion.div

0 commit comments

Comments
 (0)