From af6c7d872e6d99422547de5b24d3e0dd9229e148 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 2 Feb 2023 22:18:21 +0000 Subject: [PATCH] fix icon spacing --- src/components/Networks/index.module.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/Networks/index.module.css b/src/components/Networks/index.module.css index ac866bc..26585d2 100644 --- a/src/components/Networks/index.module.css +++ b/src/components/Networks/index.module.css @@ -12,11 +12,12 @@ } .link { - margin-left: calc(var(--spacer) / var(--line-height)); - margin-right: calc(var(--spacer) / var(--line-height)); + margin-left: var(--spacer); + margin-right: var(--spacer); margin-bottom: calc(var(--spacer) / 2); text-align: center; display: inline-block; + width: 24px; } .link svg { @@ -44,10 +45,10 @@ } .small .link { - padding: calc(var(--spacer) / 4); - margin-left: calc(var(--spacer) / 7); - margin-right: calc(var(--spacer) / 7); + margin-left: calc(var(--spacer) / 2); + margin-right: calc(var(--spacer) / 2); margin-bottom: calc(var(--spacer) / 4); + width: var(--font-size-base); } .small svg {