about summary refs log tree commit diff
diff options
context:
space:
mode:
authorArtem Shitov <artemshitov@yandex-team.ru>2015-08-26 16:20:57 +0300
committerArtem Shitov <artemshitov@yandex-team.ru>2015-08-26 16:20:57 +0300
commitc891fae175ecb096a847877d2e4f238ceef9f34b (patch)
treef752713b8a4f8d332ca06f13b348844dc7afd71a
parent14b7591ee578042da43f6a9968034f4998cf291c (diff)
downloadrust-c891fae175ecb096a847877d2e4f238ceef9f34b.tar.gz
rust-c891fae175ecb096a847877d2e4f238ceef9f34b.zip
Fix keyboard scrolling in rustbook
-rw-r--r--src/rustbook/static/rustbook.css3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rustbook/static/rustbook.css b/src/rustbook/static/rustbook.css
index 3e0537c5551..84cccda8172 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;
@@ -48,7 +48,6 @@ h1, h2, h3, h4, h5, h6 {
         left: 310px;
         right: 0px;
         top: 0px;
-        bottom: 0px;
         box-sizing: border-box;
         background: none repeat scroll 0% 0% #FFF;
         -webkit-overflow-scrolling: touch;