From b8dbd5e73b6fb50d423fa017aac42ebb73db4983 Mon Sep 17 00:00:00 2001 From: Aachallll Date: Sun, 10 Nov 2024 14:19:54 +0530 Subject: [PATCH] Set the fixed image height and hover cursor effect --- pages/scholarship-feature/scholarships.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/scholarship-feature/scholarships.css b/pages/scholarship-feature/scholarships.css index 29cb986..0fb6086 100644 --- a/pages/scholarship-feature/scholarships.css +++ b/pages/scholarship-feature/scholarships.css @@ -140,6 +140,7 @@ p { .card:hover { transform: scale(1.08) rotateZ(2deg); box-shadow: 6px 6px 25px rgb(0, 0, 0); + cursor: pointer; } /* Card image styling */ @@ -150,7 +151,7 @@ p { border: 2px solid rgb(234, 231, 231); border-radius: 5px; width: 100%; - height: 150px; /* Smaller image to reduce height */ + height: auto; /* Smaller image to reduce height */ object-fit: cover; margin-bottom: 10px; /* Reduced margin below the image */ box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Adds shadow effect */