aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v1/css.rb7
-rw-r--r--lib/sisu/v1/html.rb2
2 files changed, 8 insertions, 1 deletions
diff --git a/lib/sisu/v1/css.rb b/lib/sisu/v1/css.rb
index 3f2733b1..ced72d17 100644
--- a/lib/sisu/v1/css.rb
+++ b/lib/sisu/v1/css.rb
@@ -998,6 +998,13 @@ WOK
padding: 0;
border-left: 13em solid #ffffff;
padding-left: 1em;
+ padding-right: 1em;
+ }
+ div.scroll {
+ margin: 0;
+ padding: 0;
+ padding-left: 1em;
+ padding-right: 1em;
}
div.content:after {
content:' ';
diff --git a/lib/sisu/v1/html.rb b/lib/sisu/v1/html.rb
index 39775832..6e92c473 100644
--- a/lib/sisu/v1/html.rb
+++ b/lib/sisu/v1/html.rb
@@ -655,7 +655,7 @@ WOK
def publish
scroll=[]
hr='<center><hr width=90% /></center>'
- scroll << @scr_toc << hr << @scr_body << @scr_endnotes << hr << @scr_metadata << @scr_owner_details << @scr_tails
+ scroll << @scr_toc << '<div class="scroll">' << hr << @scr_body << @scr_endnotes << hr << @scr_owner_details << '</div>' << @scr_tails
scroll.flatten!.compact!
end
end