about summary refs log tree commit diff
path: root/src/rustbook/static/rustbook.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/rustbook/static/rustbook.css')
-rw-r--r--src/rustbook/static/rustbook.css4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rustbook/static/rustbook.css b/src/rustbook/static/rustbook.css
index 3e0537c5551..6b9e7aa58f2 100644
--- a/src/rustbook/static/rustbook.css
+++ b/src/rustbook/static/rustbook.css
@@ -27,7 +27,7 @@ h1, h2, h3, h4, h5, h6 {
 
 @media only screen {
     #toc {
-        position: absolute;
+        position: fixed;
         left: 0px;
         top: 0px;
         bottom: 0px;
@@ -44,11 +44,9 @@ h1, h2, h3, h4, h5, h6 {
 
     #page-wrapper {
         position: absolute;
-        overflow-y: auto;
         left: 310px;
         right: 0px;
         top: 0px;
-        bottom: 0px;
         box-sizing: border-box;
         background: none repeat scroll 0% 0% #FFF;
         -webkit-overflow-scrolling: touch;