From d71b796ead0a3d7001cc579a66b9faa577ac1de5 Mon Sep 17 00:00:00 2001 From: Cayla Hamann Date: Thu, 25 Jun 2020 14:52:55 -0400 Subject: [PATCH] fix: pre tag css grid bug --- src/components/Layout.module.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/Layout.module.scss b/src/components/Layout.module.scss index c4f28a34a..80ef0c61d 100644 --- a/src/components/Layout.module.scss +++ b/src/components/Layout.module.scss @@ -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 { @@ -34,6 +34,7 @@ .content { flex: 1; + margin: 2rem; } .footer {