Skip to content

Commit

Permalink
fix: Layout on small breakpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jun 17, 2020
1 parent 782fa30 commit 52c5b20
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions src/components/Layout.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,14 @@
display: grid;
grid-template-columns: 300px minmax(0, 1fr);
width: 100%;
}

.content {
padding: 2rem;
}

@media (max-width: 760px) {
.layout {
display: block;
@media screen and (max-width: 760px) {
grid-template-columns: 1fr;
}
}

@media screen and (max-width: 1240px) {
.layout {
padding-left: 1rem;
padding-right: 1rem;
}
.content {
padding: 2rem;
}

.hideOnDesktop {
Expand Down

0 comments on commit 52c5b20

Please sign in to comment.