Skip to content

Commit

Permalink
grid gap compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
openmindculture committed Feb 29, 2024
1 parent f07a66e commit 2821eff
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,20 @@
.ingos-cost {
display: flex;
flex-direction: row;
gap: 1rem;
margin-top: 0.5rem;

& > *:not(:first-child) {
margin-left: 1rem;
}

@media (max-width: 1188px) {
flex-direction: column;
margin-bottom: 1rem;

& > *:not(:first-child) {
margin-top: 1rem;
margin-left: 0;
}
}

.ingos-cost-group {
Expand Down Expand Up @@ -73,7 +81,6 @@
@media (max-width: 1188px) {
display: flex;
flex-direction: row;
gap: 1rem;

&.ingos-cost-group { /* increase specificity to override landscape default */
width: 100%;
Expand Down

0 comments on commit 2821eff

Please sign in to comment.