From 742314e0ac350a70ce1cc256e858c8de9c9153f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20Dav=C3=B3?= <66087392+mdmrk@users.noreply.github.com> Date: Fri, 12 Jan 2024 16:33:19 +0100 Subject: [PATCH] fix: remove extra padding if lightAndDarkMode is false (#230) Remove the extra "right-padding" inside the header search icon when lightAndDarkMode is false so UI is consistent. This is done by including
  • tag inside if statement --- src/components/Header.astro | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/Header.astro b/src/components/Header.astro index c14e81f..24c3f91 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -89,9 +89,9 @@ const { activeNav } = Astro.props; Search
  • -
  • - { - SITE.lightAndDarkMode && ( + { + SITE.lightAndDarkMode && ( +
  • - ) - } -
  • + + ) + }