From aa63803aa253e68492955681a2a9c27882d6cd74 Mon Sep 17 00:00:00 2001 From: radishzzz Date: Wed, 5 Feb 2025 21:04:10 +0000 Subject: [PATCH] fix: theme transition error on ios --- src/components/Header.astro | 12 ++++++------ src/components/SiteTitle.astro | 2 +- src/styles/global.css | 6 +----- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/src/components/Header.astro b/src/components/Header.astro index 03469be..4900d62 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -8,16 +8,16 @@ const currentPath = Astro.url.pathname const { getLocalizedPath } = getPagePath(currentPath) const marginBottom = { - 1: 'mb-1', - 2: 'mb-3', - 3: 'mb-5', -}[titleSpace] || 'mb-3' + 1: 'mb-1', + 2: 'mb-3', + 3: 'mb-5', + }[titleSpace] || 'mb-3' ---
-

+