Skip to content

Commit 2dd9c80

Browse files
chlabcursoragent
andcommitted
Hide member card hover shadow and carousel arrows on mobile
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 5d5ec16 commit 2dd9c80

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

docs/style.css

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -544,9 +544,11 @@ p {
544544
}
545545
}
546546

547-
.team-card:hover {
548-
transform: translateY(-5px);
549-
box-shadow: var(--shadow-lg);
547+
@media (min-width: 768px) {
548+
.team-card:hover {
549+
transform: translateY(-5px);
550+
box-shadow: var(--shadow-lg);
551+
}
550552
}
551553

552554
.team-image {
@@ -706,12 +708,18 @@ p {
706708
background: var(--color-white);
707709
color: var(--color-primary);
708710
cursor: pointer;
709-
display: flex;
711+
display: none;
710712
align-items: center;
711713
justify-content: center;
712714
transition: var(--transition);
713715
}
714716

717+
@media (min-width: 768px) {
718+
.carousel-btn {
719+
display: flex;
720+
}
721+
}
722+
715723
.carousel-btn:hover {
716724
background: var(--color-primary);
717725
color: var(--color-white);

0 commit comments

Comments
 (0)