From cef652863d350ba8bbd1d783fd5224de98d66615 Mon Sep 17 00:00:00 2001 From: charispinto Date: Sat, 5 Oct 2024 16:18:01 +0530 Subject: [PATCH] Fixed stacking cards mobile view responsiveness --- src/components/stacking-cards/stacked.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/stacking-cards/stacked.css b/src/components/stacking-cards/stacked.css index 384b73a..eb069b6 100644 --- a/src/components/stacking-cards/stacked.css +++ b/src/components/stacking-cards/stacked.css @@ -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; } @@ -72,7 +72,7 @@ } @media (max-width: 600px) { - .card_el { + .cards_el { flex-direction: column; }