fix poor overflow fixes
This commit is contained in:
parent
cb1755ad9e
commit
948505d71c
@ -19,7 +19,7 @@ body {
|
|||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
p, h1 {
|
p, h1, h2 {
|
||||||
word-wrap: anywhere;
|
word-wrap: anywhere;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
const resizeHeader = () => {
|
const resizeHeader = () => {
|
||||||
const container = document.querySelector("main > .container")
|
const container = document.querySelector("main > .container")
|
||||||
const containerWidth = container.scrollWidth
|
const containerWidth = container.clientWidth
|
||||||
const header = document.querySelector(".container.title-container")
|
const header = document.querySelector(".container.title-container")
|
||||||
header.style.minWidth = `${containerWidth}px`
|
header.style.minWidth = `${containerWidth}px`
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user