summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2011-12-29 21:03:05 +0000
committerNick White <git@njw.me.uk>2011-12-29 21:03:05 +0000
commita4dbdf58d6dba13dee8f05e9184718aefa0dfc9b (patch)
treeff2aed752c68103bb5d7b859602225c3771069ed
parent4d80602fe180c574a83a38a98ccbc8b656bfc2dc (diff)
Set extra bottom padding so page-down works as expected near bottom of page
-rwxr-xr-xsimplyread.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/simplyread.js b/simplyread.js
index 3a00527..a2a068d 100755
--- a/simplyread.js
+++ b/simplyread.js
@@ -69,7 +69,7 @@ function simplyread(nostyle, nolinks)
"p+p{text-indent:2em;} body{background:#cccccc none}" +
"img{display:block; max-width: 32em; padding:1em; margin: auto}" +
"h1{text-align:center;text-transform:uppercase}" +
- "div#sr{width:34em; padding:8em; padding-top:2em;" +
+ "div#sr{width:34em; padding:2em 8em 50% 8em;" +
" background-color:white; margin:auto; line-height:1.4;" +
" text-align:justify; font-family:serif; hyphens:auto;}";
/* text-rendering:optimizeLegibility; - someday this will work,