This commit is contained in:
Mylloon 2024-11-28 00:00:48 +01:00
parent f7b2830d7f
commit e9d7e9d14c
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 3 additions and 3 deletions

View file

@ -57,7 +57,7 @@ main img {
max-width: 100%;
}
button.menu {
button#menu {
display: none;
}
@ -74,7 +74,7 @@ input[type="text"] {
margin-left: unset;
}
button {
button#menu {
width: 100%;
display: block;

View file

@ -148,7 +148,7 @@ window.addEventListener("load", () => {
// Responsive menu
let menuOpen = false;
const button = document.getElementsByTagName("button.menu")[0];
const button = document.getElementById("menu");
const content = document.getElementsByTagName("main")[0];
const initialButtonTextContent = button.textContent;
const resetPage = () => {