From 9fcc854c484543e47bc354d9dbf9069428abbb9d Mon Sep 17 00:00:00 2001 From: Palak Date: Tue, 13 Jun 2023 15:02:49 +0530 Subject: [PATCH 1/2] Fix home layout that was messing up with sidebar --- src/index.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/index.css b/src/index.css index 3b8e463aa..b0528755b 100644 --- a/src/index.css +++ b/src/index.css @@ -58,6 +58,7 @@ input:focus { .app__posts { padding: 20px; padding-top: 5.5em; + padding-left: 17vw; } .app_posts_column { padding: 20px; @@ -121,6 +122,13 @@ input:focus { color: red; transform: scale(1.04); } + +@media only screen and (max-width: 1200px){ + .app__posts{ + padding-left: 9vw; + } +} + @media only screen and (max-width: 900px) { .rowConvert { display: none; From a0c0ed28af0b8d1ab7589d296dcd81f26dbf0eb7 Mon Sep 17 00:00:00 2001 From: Narayan soni Date: Thu, 15 Jun 2023 02:44:17 +0530 Subject: [PATCH 2/2] Update index.css --- src/index.css | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/index.css b/src/index.css index 27805a7cf..800402a1d 100644 --- a/src/index.css +++ b/src/index.css @@ -57,9 +57,7 @@ input:focus { } .app__posts { - padding: 20px; - padding-top: 5.5em; - padding-left: 17vw; + padding: 5.5em 20px 20px 17vw; } .app_posts_column { @@ -126,8 +124,8 @@ input:focus { transform: scale(1.04); } -@media only screen and (max-width: 1200px){ - .app__posts{ +@media only screen and (max-width: 1200px) { + .app__posts { padding-left: 9vw; } }