Skip to content

Commit

Permalink
fix(components): mega dropdown to one column on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
leagrdv committed Dec 16, 2024
1 parent d7e1172 commit f0513dc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/bright-insects-unite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Switched mega dropdown content to one column on mobile.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ post-popovercontainer {
@include media.max(lg) {
grid-template-columns: repeat(auto-fit, minmax(min(35vw, 100%), 1fr));
}

@include media.max(sm) {
grid-template-columns: 1fr;
}
}

h2 {
Expand Down

0 comments on commit f0513dc

Please sign in to comment.