Fix menu button on scroll

pull/1/head
dugo3number2 2023-02-08 13:29:21 -06:00
parent 0f0d6f13ab
commit bb1f8ec467
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@ function headerScroll() {
for (const button of headerButtons) { for (const button of headerButtons) {
button.children[0].className = "navscroll" button.children[0].className = "navscroll"
} }
menuButton.style.width = "20px"
} else { } else {
header.style.padding = "10px" header.style.padding = "10px"
headerText.style.fontSize = "32px" headerText.style.fontSize = "32px"
@ -21,5 +22,6 @@ function headerScroll() {
for (const button of headerButtons) { for (const button of headerButtons) {
button.children[0].className = "" button.children[0].className = ""
} }
menuButton.style.width = "25px"
} }
} }