From 2434bf88e84548352c1f59d6fa496b128ab075b6 Mon Sep 17 00:00:00 2001 From: Arjun C Vinod Date: Sat, 3 Aug 2024 08:48:13 +0530 Subject: [PATCH] fix(ui):wadhwani styles fix --- src/Pages/Wadhwani/Wadhwani.module.css | 11 +++++++---- src/Pages/Wadhwani/Wadhwani2.module.css | 1 + 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/Pages/Wadhwani/Wadhwani.module.css b/src/Pages/Wadhwani/Wadhwani.module.css index 45716da35..b3a4da35c 100644 --- a/src/Pages/Wadhwani/Wadhwani.module.css +++ b/src/Pages/Wadhwani/Wadhwani.module.css @@ -27,16 +27,19 @@ .tv_story_container { width: 100%; display: flex; - justify-content: space-between; + justify-content: center; flex-wrap: wrap; + gap: 2rem; } .tv_story { display: flex; flex-direction: column; justify-content: end; - box-shadow: 1px 1px 45px -5px rgb(0 0 0 / 8%); - -webkit-box-shadow: 1px 1px 45px -5px rgb(0 0 0 / 8%); +} +.header .tv_texts { + display: flex; + flex-direction: column; } @media only screen and (max-width: 1350px) { @@ -48,7 +51,7 @@ @media only screen and (max-width: 1180px) { .tv_story_container { - justify-content: space-around; + justify-content: center; } .header .tv_texts p:nth-child(1) { diff --git a/src/Pages/Wadhwani/Wadhwani2.module.css b/src/Pages/Wadhwani/Wadhwani2.module.css index 25a3aa64b..b0f7435af 100644 --- a/src/Pages/Wadhwani/Wadhwani2.module.css +++ b/src/Pages/Wadhwani/Wadhwani2.module.css @@ -19,6 +19,7 @@ /* rounded-md */ border: none; cursor: pointer; + width: fit-content; } p {