SSR
All checks were successful
deploy to production / deploy (push) Successful in 1m6s

This commit is contained in:
Robin Grenzdörfer 2023-12-06 20:22:56 +00:00
parent ce81231627
commit 0bb518341d

View File

@ -57,7 +57,8 @@
function stretchText() {
let container = document.getElementById("logo-container")
let textElement = document.getElementById("upper")
if (!textElement) return
if (!container) return
let containerWidth = container.offsetWidth
let textWidth = textElement.offsetWidth
let currentLetterSpacing = parseFloat(