Merge pull request #5399 from Budibase/bug/sev3/settings_bar_covering_button
Move settings bar below element if at very top [TWEAK]
This commit is contained in:
commit
86218a1002
|
@ -67,7 +67,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
//If element is at the very top of the screen, put the bar below the element
|
//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
|
newTop = elBounds.bottom + verticalOffset
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue