From e2d648353df03a4212661fb7f25efd39c1595c94 Mon Sep 17 00:00:00 2001 From: vaporvee Date: Fri, 12 Jul 2024 22:26:52 +0200 Subject: [PATCH] fixed margins --- src/components/ProjectCard.astro | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/components/ProjectCard.astro b/src/components/ProjectCard.astro index f0a2099..60b0b7c 100644 --- a/src/components/ProjectCard.astro +++ b/src/components/ProjectCard.astro @@ -32,6 +32,7 @@ const { name, href, gallery } = Astro.props; max-width: 40vw; transition: border-color 0.3s; .gallery { + margin-top: -25px; img { max-height: 250px; margin: 20px 10px; @@ -52,7 +53,7 @@ const { name, href, gallery } = Astro.props; } @media (max-width: $responsive-width) { .gallery { - margin-top: -30px; + margin-top: -3px; text-align: center; * { margin: 2px !important; @@ -63,8 +64,9 @@ const { name, href, gallery } = Astro.props;
-

{name}

+ +