From 08d1ddf69bfc4c29446e1a094dbebb80edbea9cc Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Tue, 27 Dec 2022 22:02:35 -0500 Subject: [PATCH] Fix css --- src/posts/index.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/posts/index.css b/src/posts/index.css index d126592..839040a 100644 --- a/src/posts/index.css +++ b/src/posts/index.css @@ -36,3 +36,17 @@ display: grid; grid-template-columns: 2fr 1fr; } + +@media only screen and (max-width: 768px){ + .post-2-1{ + grid-template-columns: 1fr; + } + + .post-1-1 { + grid-template-columns: 1fr; + } + + .post-1-2 { + grid-template-columns: 2fr; + } +} -- 2.45.2