Skip to content

Commit

Permalink
Fixed stacking cards mobile view responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
charispinto committed Oct 5, 2024
1 parent be971a0 commit cef6528
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/stacking-cards/stacked.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
max-width: 900px;
margin: 0 auto;
display: grid;
/* grid-template-rows: repeat(var(--cards-count), var(--card-height)); */
grid-template-rows: repeat(4, var(--card-height));
gap: 40px 0;
}

Expand Down Expand Up @@ -72,7 +72,7 @@
}

@media (max-width: 600px) {
.card_el {
.cards_el {
flex-direction: column;
}

Expand Down

0 comments on commit cef6528

Please sign in to comment.