Skip to content

Commit

Permalink
[MWPW-161698] - Add two up in mobile for Editorial Card (#3170)
Browse files Browse the repository at this point in the history
add two up mobile variant
  • Loading branch information
saugatmalla authored Nov 14, 2024
1 parent 8b0c462 commit d19376d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions libs/blocks/editorial-card/editorial-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit d19376d

Please sign in to comment.