Only apply to small components (button, headline)

This commit is contained in:
Mel O'Hagan 2022-04-13 15:53:26 +01:00
parent 06f22413cb
commit bf4b2f65d8
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@
}
//If element is at the very top of the screen, put the bar below the element
if (elBounds.top < elBounds.height) {
if (elBounds.top < elBounds.height && elBounds.height < 80) {
newTop = elBounds.bottom + verticalOffset
}