Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set the fixed image height and hover cursor effect #1194

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pages/scholarship-feature/scholarships.css
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,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 */
Expand All @@ -162,6 +162,7 @@ p {
.card h2 {
font-size: 18px; /* Slightly smaller font */
color: black;
cursor: pointer;
}

/* Card paragraph */
Expand Down
1 change: 1 addition & 0 deletions pages/scholarships/scholarships.css
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ main {
}



/* Responsive Design */

@media (max-width: 768px) {
Expand Down
Loading