Fix detail when navigating back

This commit is contained in:
prototypa
2022-08-28 19:20:00 -04:00
committed by GitHub
parent f2ab5e820c
commit 06bf8df636

View File

@ -41,6 +41,7 @@ const { } = Astro.props;
if (elem) {
elem.classList.remove("expanded");
}
document.documentElement.classList.remove("overflow-hidden");
document.getElementById("menu")?.classList.add("hidden");
};
</script>