Skip to content

Commit

Permalink
chore: Better breakpoint for side by side content
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jun 17, 2020
1 parent 52c5b20 commit e70d786
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/SideBySide.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
display: grid;
grid-template-columns: 50% 50%;
grid-gap: 1rem;

p:last-child {
margin-bottom: 0;
}

@media (max-width: 760px) {
grid-template-columns: 100%;
@media (max-width: 1240px) {
grid-template-columns: minmax(0, 1fr);
grid-gap: 0;
}
}
Expand Down

0 comments on commit e70d786

Please sign in to comment.