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;