From f107427398954d43eeadc465752c2dfc2e5e930e Mon Sep 17 00:00:00 2001 From: MTG2000 Date: Tue, 31 May 2022 09:30:10 +0300 Subject: [PATCH] style: fix hackathons/feed grid --- .../pages/HackathonsPage/HackathonsPage.tsx | 4 ++-- .../pages/HackathonsPage/styles.module.scss | 5 +++- .../Posts/pages/FeedPage/FeedPage.tsx | 16 +++++++------ .../Posts/pages/FeedPage/styles.module.scss | 24 ++++++++++++++++--- 4 files changed, 36 insertions(+), 13 deletions(-) diff --git a/src/features/Hackathons/pages/HackathonsPage/HackathonsPage.tsx b/src/features/Hackathons/pages/HackathonsPage/HackathonsPage.tsx index 90c4a28..2cad2e3 100644 --- a/src/features/Hackathons/pages/HackathonsPage/HackathonsPage.tsx +++ b/src/features/Hackathons/pages/HackathonsPage/HackathonsPage.tsx @@ -55,11 +55,11 @@ export default function HackathonsPage() { -
+
-
+ ) } diff --git a/src/features/Hackathons/pages/HackathonsPage/styles.module.scss b/src/features/Hackathons/pages/HackathonsPage/styles.module.scss index 37b8c6f..576848a 100644 --- a/src/features/Hackathons/pages/HackathonsPage/styles.module.scss +++ b/src/features/Hackathons/pages/HackathonsPage/styles.module.scss @@ -4,7 +4,10 @@ gap: 24px; @media screen and (min-width: 768px) { - grid-template-columns: 1fr 3fr; + grid-template-columns: repeat(4, 1fr); gap: 24px; + > main { + grid-column: 2/5; + } } } diff --git a/src/features/Posts/pages/FeedPage/FeedPage.tsx b/src/features/Posts/pages/FeedPage/FeedPage.tsx index f8ba18c..8aa6875 100644 --- a/src/features/Posts/pages/FeedPage/FeedPage.tsx +++ b/src/features/Posts/pages/FeedPage/FeedPage.tsx @@ -57,13 +57,15 @@ export default function FeedPage() { /> - -