Codebase list sugar-read-activity / c1a414f
Apply a default marging to epub pages This margin improves readability and avoid having the bookmark over the text. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org> Gonzalo Odiard 11 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1515 hide_scrollbar_js = \
1616 'document.documentElement.style.overflow = "hidden";'
1717
18 js = 'oldtitle=document.title;' + \
18 js = 'document.documentElement.style.margin = "50px";' + \
19 'oldtitle=document.title;' + \
1920 'if (document.body == null) {' + \
2021 'document.title = 0} else {' + \
2122 hide_scrollbar_js + \