fix poor overflow fixes

This commit is contained in:
shrapnelnet 2024-12-31 21:38:51 +00:00
parent cb1755ad9e
commit 948505d71c
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ body {
background-attachment: fixed;
}
p, h1 {
p, h1, h2 {
word-wrap: anywhere;
}

View File

@ -1,6 +1,6 @@
const resizeHeader = () => {
const container = document.querySelector("main > .container")
const containerWidth = container.scrollWidth
const containerWidth = container.clientWidth
const header = document.querySelector(".container.title-container")
header.style.minWidth = `${containerWidth}px`
}