Skip to content

Commit

Permalink
fix partners
Browse files Browse the repository at this point in the history
  • Loading branch information
dakur committed Dec 2, 2024
1 parent 64f5e95 commit d26f21e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions frontend/src/styles/components/partners-grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
max-inline-size: 40rem;
margin-inline: auto;
}
.partners-grid .is-layout-grid {
.partners-grid.is-layout-grid {
grid-template-columns: repeat(auto-fill, minmax(min(12rem, 100%), 1fr));
gap: 2rlh 1rlh;
align-items: center;
justify-items: center;
margin-bottom: 4rlh;
}
.partners-grid .is-layout-grid > * {
.partners-grid.is-layout-grid > * {
max-inline-size: 10rem;
}
@media ($typography-breakpoint-large-from) {
.partners-grid .is-layout-grid > .wp-container-content-3 {
.partners-grid.is-layout-grid > .wp-container-content-3 {
max-inline-size: revert;
grid-column-end: span 3;
}
}
.partners-grid .is-layout-grid :where(.content__dynamic *+p, .content__dynamic *+figure, .content__dynamic *+.wp-block-columns) {
.partners-grid.is-layout-grid :where(.content__dynamic *+p, .content__dynamic *+figure, .content__dynamic *+.wp-block-columns) {
margin-block-start: unset;
}
}

0 comments on commit d26f21e

Please sign in to comment.