From 452d8a52e74f2e459f7802af92374572534ce4b0 Mon Sep 17 00:00:00 2001 From: DevilsAutumn Date: Sun, 19 Jan 2025 00:44:30 +0530 Subject: [PATCH] Fixed events card to fit images better --- frontend/src/containers/Event/Event.tsx | 2 +- frontend/src/sections/EventSection/EventCard.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/containers/Event/Event.tsx b/frontend/src/containers/Event/Event.tsx index a85b0d86..e5ae7972 100644 --- a/frontend/src/containers/Event/Event.tsx +++ b/frontend/src/containers/Event/Event.tsx @@ -71,7 +71,7 @@ const EventContainer = async ({ return (
-
+
{name} = ({ className='rounded-t-lg' style={{ maxWidth: '100%', - height: 'auto', + height: '100%', + objectFit: 'cover', }} />