From 1f872127bf80cee6069bb791da2ddf97ca0e3a28 Mon Sep 17 00:00:00 2001 From: Robert McGovern Date: Tue, 8 Feb 2022 15:54:37 +0000 Subject: [PATCH] Fixes #2 --- src/css/style.css | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/css/style.css b/src/css/style.css index dfcb3eb..a226aa7 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -143,17 +143,15 @@ body { .project-card { border: 3px solid var(--projects-border-color); border-radius: 10px; - aspect-ratio: 1 / 1.4; overflow: hidden; } .project-card a { - height: auto; + aspect-ratio: 1 / 1.4; } .card__img { width: 100%; - height: auto; aspect-ratio: 1 / 1.25; object-fit: cover; }