fix nav collapse styling and recent-posts thumbnail float clear

This commit is contained in:
Adam Piontek 2021-08-04 17:25:38 -04:00
commit b5bd3aa20b
9 changed files with 173 additions and 170 deletions

View file

@ -2,11 +2,9 @@ const togglerBtn = document.getElementById("btn-burger");
const navbarContent = document.getElementById("nt-mainmenu");
navbarContent.addEventListener("show.bs.collapse", () => {
console.log("opening navbar content");
togglerBtn.classList.toggle("is-active");
});
navbarContent.addEventListener("hide.bs.collapse", () => {
console.log("closing navbar content");
togglerBtn.classList.toggle("is-active");
});