expertise : active text a bit upper - related to #52
All checks were successful
Deploy / Deploy to Production (push) Successful in 22s

This commit is contained in:
isUnknown 2026-04-03 11:03:49 +02:00
parent 6a41be334e
commit fe348f1e48

View file

@ -47,7 +47,7 @@
const wh = window.innerHeight
const wrapperRect = textContainer.parentElement.getBoundingClientRect()
const el = itemEls[currentItem]
offsetY = wh / 2 - wrapperRect.top - el.offsetTop - el.offsetHeight / 2
offsetY = wh / 2 - wrapperRect.top - el.offsetTop - el.offsetHeight / 2 - 50
}
function initVideo() {