expertise : active text a bit upper - related to #52
All checks were successful
Deploy / Deploy to Production (push) Successful in 22s
All checks were successful
Deploy / Deploy to Production (push) Successful in 22s
This commit is contained in:
parent
6a41be334e
commit
fe348f1e48
1 changed files with 1 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue