From ddab060211e9841d8e907a193567b1d233b6d1eb Mon Sep 17 00:00:00 2001 From: Saugat Malla Date: Fri, 8 Nov 2024 15:03:32 -0500 Subject: [PATCH] add two up mobile variant --- libs/blocks/editorial-card/editorial-card.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libs/blocks/editorial-card/editorial-card.css b/libs/blocks/editorial-card/editorial-card.css index 0346473b83..4c66e28e6a 100644 --- a/libs/blocks/editorial-card/editorial-card.css +++ b/libs/blocks/editorial-card/editorial-card.css @@ -307,3 +307,11 @@ .editorial-card .vp-media .desktop-only { display: block; } } + +/* mobile only */ +@media screen and (max-width: 700px) { + .section.two-up-mobile:has(.editorial-card) { + grid-template-columns: repeat(2, 1fr); + gap: var(--spacing-xs); + } +}