From 50b55895241106f9a214095e5c5e542fa25f7ad2 Mon Sep 17 00:00:00 2001 From: Sonia Ruiz Date: Thu, 7 Apr 2022 12:09:20 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Fix=20spacing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/home/anchor-navigation/anchor-navigation.scss | 5 ++--- styles/fonts.scss | 5 +++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/home/anchor-navigation/anchor-navigation.scss b/components/home/anchor-navigation/anchor-navigation.scss index 9ae59b3..0f5b206 100644 --- a/components/home/anchor-navigation/anchor-navigation.scss +++ b/components/home/anchor-navigation/anchor-navigation.scss @@ -21,7 +21,7 @@ &__button { position: relative; - width: 32px; + width: 30px; border: none; background: unset; @@ -95,7 +95,6 @@ } #{ $self }__text { - // padding-right: spacing(0.5); padding-top: spacing(4); max-height: spacing(20); } @@ -116,7 +115,7 @@ } &__text { - @extend %subtitle-1; + @extend %subtitle-2; color: $white; white-space: nowrap; diff --git a/styles/fonts.scss b/styles/fonts.scss index 90acda5..33090f7 100644 --- a/styles/fonts.scss +++ b/styles/fonts.scss @@ -92,16 +92,17 @@ $semibold: 600; @media (min-width: $md) { font-size: 1rem; + letter-spacing: 0.02em; } } %subtitle-2 { font-family: $inter; font-weight: $semibold; - font-size: 0.875rem; + font-size: 0.75rem; line-height: 1.21; @media (min-width: $md) { - font-size: 1rem; + font-size: 0.875rem; } }