From 624504535a63238d5b5ff8868c716fb0aa77e004 Mon Sep 17 00:00:00 2001 From: mukeshs Date: Wed, 19 Nov 2025 16:23:23 +0530 Subject: [PATCH] Changes on 19-11-2025 --- .../events/MedicalEventsComponent.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/events/MedicalEventsComponent.tsx b/src/components/events/MedicalEventsComponent.tsx index 9a10da2..249bbd3 100644 --- a/src/components/events/MedicalEventsComponent.tsx +++ b/src/components/events/MedicalEventsComponent.tsx @@ -380,7 +380,7 @@ const MedicalEventsComponent = () => { - {/* Item Rows */} + {/* Item Rows - FIXED IMAGE STYLING */}
{filteredItems().length === 0 ? (
@@ -398,10 +398,10 @@ const MedicalEventsComponent = () => { onClick={() => navigateToDetail(item)} >
- {/* Images Section */} -
- {/* Main image */} -
+ {/* Images Section - FIXED */} +
+ {/* Main image - FIXED HEIGHT */} +
{item.title} {
- {/* Gallery grid - only for events */} + {/* Gallery grid - only for events - FIXED HEIGHT */} {showGallery && ( -
+
{galleryImages.map((img, index) => ( -
+
{`${item.title} { className="cursor-pointer hover:bg-gray-50 p-2 rounded-lg transition-colors" onClick={() => router.push(`/event-detail/${event.id}`)} > -
+