Skip to content

Commit

Permalink
Fix layout of side-by-side code and content on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
parlough committed Feb 8, 2025
1 parent 1f84c1e commit 4015cec
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/_sass/base/_utils.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,16 @@ main {
display: grid;
grid-template-columns: 1fr;
column-gap: 1.5rem;
margin-block-end: 0.5rem;

@media (min-width: 768px) {
grid-template-columns: minmax(60%, 1fr) auto;
margin-block-end: 0;
}

> * {
max-width: 100%;
min-width: 0;
}
}

Expand Down

0 comments on commit 4015cec

Please sign in to comment.