From b8fd1868010e74639a7755e9ec93061b712d55fb Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 12 Sep 2024 23:33:43 +0000 Subject: Refactor Analytics component to encode URI parameters --- src/components/Analytics.astro | 2 +- src/components/Header.astro | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src/components') diff --git a/src/components/Analytics.astro b/src/components/Analytics.astro index 977c610..428ad4f 100644 --- a/src/components/Analytics.astro +++ b/src/components/Analytics.astro @@ -13,5 +13,5 @@ const { title } = Astro.props; diff --git a/src/components/Header.astro b/src/components/Header.astro index 5b163c8..0f91af3 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -12,7 +12,7 @@ left: 0; line-height: 3.5em; opacity: 0.975; - position: fixed; + position: absolute; right: 0; top: 0; } @@ -36,6 +36,7 @@ @media (width <=684px) { header { box-shadow: none; + position: fixed; } nav { @@ -50,6 +51,6 @@
-- cgit v1.2.3