diff options
| author | Artem Shitov <artemshitov@yandex-team.ru> | 2015-08-26 16:20:57 +0300 |
|---|---|---|
| committer | Artem Shitov <artemshitov@yandex-team.ru> | 2015-08-26 16:20:57 +0300 |
| commit | c891fae175ecb096a847877d2e4f238ceef9f34b (patch) | |
| tree | f752713b8a4f8d332ca06f13b348844dc7afd71a | |
| parent | 14b7591ee578042da43f6a9968034f4998cf291c (diff) | |
| download | rust-c891fae175ecb096a847877d2e4f238ceef9f34b.tar.gz rust-c891fae175ecb096a847877d2e4f238ceef9f34b.zip | |
Fix keyboard scrolling in rustbook
| -rw-r--r-- | src/rustbook/static/rustbook.css | 3 |
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; |
