wip: more tweaks

This commit is contained in:
2026-01-11 00:19:33 +00:00
parent f47ea792aa
commit 8c91e2028a
12 changed files with 97 additions and 84 deletions

View File

@@ -183,10 +183,10 @@ const { version } = Astro.props;
function updateHeaderVisibility() {
if (window.scrollY >= navbarHeight) {
header.classList.remove("translate-y-[-100%]");
header.classList.remove("translate-y-[-100%]", "border-transparent");
header.classList.add("border-gray-200", "dark:border-neutral-800");
} else {
header.classList.add("translate-y-[-100%]");
header.classList.add("translate-y-[-100%]", "border-transparent");
header.classList.remove("border-gray-200", "dark:border-neutral-800");
}
}