From e8a9ef2f5f8b702d692528678636880cbc76dcda Mon Sep 17 00:00:00 2001 From: Korbs Date: Thu, 30 May 2024 00:02:23 -0400 Subject: [PATCH] Apply top shadow to header bottom row --- src/components/global/Header.astro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/global/Header.astro b/src/components/global/Header.astro index ea7df47..bfb5b76 100644 --- a/src/components/global/Header.astro +++ b/src/components/global/Header.astro @@ -101,10 +101,12 @@ import { function () { if (window.scrollY > 50) { document.querySelector(".header-row-bottom").style.position = "fixed"; + document.querySelector(".header-row-bottom").style.boxShadow = "0px -40px 19px 20px black"; document.getElementById("show-w-scroll").style.opacity = "1"; document.getElementById("show-w-scroll").style.width = "96px"; } else { document.querySelector(".header-row-bottom").style.position = "inherit"; + document.querySelector(".header-row-bottom").style.boxShadow = "none"; document.getElementById("show-w-scroll").style.opacity = "0"; document.getElementById("show-w-scroll").style.width = "0"; }