From 9205003ebfe15dedaa9edeb8638fecd9fac67844 Mon Sep 17 00:00:00 2001 From: nzambello Date: Tue, 18 Jul 2023 14:18:37 +0200 Subject: [PATCH] fix: contact links safari line height --- src/components/ContactLinks.astro | 11 ++++++++--- src/pages/index.astro | 9 +++++++-- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/components/ContactLinks.astro b/src/components/ContactLinks.astro index 175dc1d..46c777a 100644 --- a/src/components/ContactLinks.astro +++ b/src/components/ContactLinks.astro @@ -17,7 +17,7 @@ stroke-linejoin="round" class="feather feather-mail"> - Email me + Email me - GitHub + GitHub - Book a meeting + Book a meeting @@ -47,6 +47,11 @@ align-items: center; margin-bottom: 1rem; } + + .contact-links a span { + line-height: 1; + } + .contact-links a svg { width: 1.5em; height: 1.5em; diff --git a/src/pages/index.astro b/src/pages/index.astro index 941cae8..b56ee18 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -79,14 +79,14 @@ import Privacy from '../components/Privacy.astro'; > - Digital Twin + Digital Twin - Book a meeting + Book a meeting @@ -135,6 +135,11 @@ import Privacy from '../components/Privacy.astro'; margin-right: 1rem; font-size: 0.85rem; } + + .contact-links a span { + line-height: 1; + } + .contact-links a svg { width: 1rem; height: 1rem;