From f6ba46c97408979acf8f23643938df65fafddd4e Mon Sep 17 00:00:00 2001 From: Viraj Chandra Date: Tue, 17 Oct 2023 15:45:23 +0530 Subject: [PATCH] eventcard --- src/components/eventCard/EventCard.css | 11 ++++++----- src/components/navbar/Navbar.js | 4 ++-- src/pages/events/Events.css | 1 + 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/components/eventCard/EventCard.css b/src/components/eventCard/EventCard.css index 4f66b75..09301be 100644 --- a/src/components/eventCard/EventCard.css +++ b/src/components/eventCard/EventCard.css @@ -8,7 +8,7 @@ gap: 2rem; border-radius: 4px; width: 100%; - padding: 5em 0; + padding: 3rem 0; position: relative; background-color: #b079c11d; backdrop-filter: blur(10px); @@ -89,7 +89,6 @@ } .dets .dets-top { - height: 30%; display: flex; flex-direction: column; align-items: flex-start; @@ -98,7 +97,6 @@ } .dets .dets-bottom { - height: 35%; display: flex; flex-direction: column; justify-content: space-between; @@ -129,7 +127,7 @@ display: flex; align-items: center; justify-content: space-between; - padding: 0 3rem; + margin: 2rem 0rem; } .details .head-blocks { @@ -435,6 +433,7 @@ .dets .dets-top { display: flex; + gap: 1rem; flex-direction: column; align-items: center; justify-content: center; @@ -442,6 +441,7 @@ .dets .dets-bottom { display: flex; + gap: 1rem; flex-direction: column; justify-content: space-evenly; align-items: center; @@ -477,6 +477,7 @@ align-items: center; justify-content: space-between; margin-bottom: 1rem; + padding: 0rem 3rem; } .dets-bottom .book-now { @@ -544,4 +545,4 @@ /* width: 100%; */ height: 100%; } -} \ No newline at end of file +} diff --git a/src/components/navbar/Navbar.js b/src/components/navbar/Navbar.js index 1bbf799..4fbfc29 100644 --- a/src/components/navbar/Navbar.js +++ b/src/components/navbar/Navbar.js @@ -174,7 +174,7 @@ const Navbar = () => { -
  • + {/*
  • @@ -182,7 +182,7 @@ const Navbar = () => {

    -
  • + */}
  • diff --git a/src/pages/events/Events.css b/src/pages/events/Events.css index b86cfe4..7165438 100644 --- a/src/pages/events/Events.css +++ b/src/pages/events/Events.css @@ -33,6 +33,7 @@ .codeutsava__section3-events-container { gap: 4rem; + min-height: 500px; /* overflow-x: scroll; min-width: 70vw; */ display: flex;