add 25px bottom margin to Scroll into view functionality
This commit is contained in:
parent
c1e2034d12
commit
feb2f1efb6
@ -198,7 +198,7 @@ ImageExpand =
|
||||
# Scroll to display full image.
|
||||
if file.scrollIntoView
|
||||
delete file.scrollIntoView
|
||||
imageBottom = Header.getBottomOf file.fullImage
|
||||
imageBottom = Header.getBottomOf(file.fullImage) - 25
|
||||
if imageBottom < 0
|
||||
window.scrollBy 0, Math.min(-imageBottom, Header.getTopOf file.fullImage)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user