Added some padding space between the slide and the whiteboard bottom border.

This commit is contained in:
Maxim Khlobystov 2015-02-02 08:34:37 -08:00
parent 9a2c10b7a8
commit b9f6dbd646

View File

@ -60,6 +60,8 @@ Template.slide.rendered = ->
boardHeight = footerTop - $("#whiteboard").offset().top - $("#whiteboard-navbar").height() - 10
else
boardHeight = $("#whiteboard").height() - $("#whiteboard-navbar").height() - 10
if window.matchMedia('(orientation: landscape)').matches
boardHeight -= 10; # add some bottom padding
# this is the best fitting pair
adjustedWidth = null