From 7c28fd5040418bd9bece7b9ae2f79ebbff5475c0 Mon Sep 17 00:00:00 2001 From: vaporvee Date: Sun, 14 Jul 2024 19:33:30 +0200 Subject: [PATCH] improved margins agaaain --- src/components/ProjectCard.astro | 3 +-- src/components/SkillBadge.astro | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/ProjectCard.astro b/src/components/ProjectCard.astro index 4d3cea5..3255b17 100644 --- a/src/components/ProjectCard.astro +++ b/src/components/ProjectCard.astro @@ -33,7 +33,6 @@ const { name, href, gallery, center, skills } = Astro.props; transition: border-color 0.3s; .gallery { margin: 15px; - margin-top: -10px; display: flex; justify-content: space-between; img { @@ -48,7 +47,7 @@ const { name, href, gallery, center, skills } = Astro.props; } @media (max-width: $responsive-width) { - max-height: 12vh !important; + max-height: 12.5vh !important; } } @media (max-width: $responsive-width) { diff --git a/src/components/SkillBadge.astro b/src/components/SkillBadge.astro index 95b93d5..3432825 100644 --- a/src/components/SkillBadge.astro +++ b/src/components/SkillBadge.astro @@ -12,7 +12,7 @@ const { key } = Astro.props; @import "../styles/_var.scss"; .icon { color: white; - margin-block: 10px; + margin-top: 10px; margin-inline: 5px; } .tooltip {