Skip to content

Commit

Permalink
fix columns issue
Browse files Browse the repository at this point in the history
  • Loading branch information
robindemourat committed Jul 30, 2024
1 parent afb003d commit 962b79c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -676,23 +676,23 @@ main .section {
}
}

.layout-text-only,
.layout-illustrated {
.layout-text-only {
column-count: 2;
column-gap: 1rem;
@media screen and (max-width: $main-width) {
column-count: 1;
}
}

// .layout-illustrated {
// display: grid;
// grid-template-columns: auto auto;
// grid-column-gap: 1rem;
// @media screen and (max-width: $main-width) {
// display: block;
// }
// }
.layout-illustrated {
display: grid;
grid-template-columns: 1fr 1fr;
grid-column-gap: 1rem;

@media screen and (max-width: $main-width) {
display: block;
}
}
.text-container {
column-count: 2;
column-gap: 1rem;
Expand Down

0 comments on commit 962b79c

Please sign in to comment.