Skip to content

Commit

Permalink
fix: pre tag css grid bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Cayla Hamann committed Jun 25, 2020
1 parent 1bf3f18 commit d71b796
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/Layout.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@
.main {
display: grid;
grid-template-columns: var(--sidebar-width) minmax(0, 1fr);

width: 100%;

@media screen and (max-width: 760px) {
grid-template-columns: 1fr;
grid-template-columns: minmax(0, 1fr);
}
}

.contentContainer {
display: flex;
flex-direction: column;
padding: 2rem;
}

.sidebar {
Expand All @@ -34,6 +34,7 @@

.content {
flex: 1;
margin: 2rem;
}

.footer {
Expand Down

0 comments on commit d71b796

Please sign in to comment.