"colours" button remains lit while menu is open

This commit is contained in:
ari melody 2023-10-03 00:04:57 +01:00
parent 85d616a828
commit d3c35e7b8c
No known key found for this signature in database
GPG key ID: 12A070A0ACDCA45F
2 changed files with 1 additions and 4 deletions

View file

@ -50,6 +50,7 @@ export function bind() {
const dropdown = document.getElementById("colours-dropdown");
colours_toggle.addEventListener("click", () => {
colours_toggle.classList.toggle("active");
dropdown.classList.toggle("active");
});

View file

@ -91,10 +91,6 @@ header a {
cursor: pointer;
}
a#colours {
}
ul#colours-dropdown {
position: absolute;
top: 2.5em;