about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNelson Chen <crazysim@gmail.com>2015-01-26 02:28:51 -0800
committerNelson Chen <crazysim@gmail.com>2015-01-26 02:37:17 -0800
commite0dc9bd275a61e6eb6fde0356d54cc4072ae7a71 (patch)
tree0224680311e5bb32771b1e5b84c40d82cf5a03e1
parentf7f80ce61a4e3e684714614a57320cc8fd0932ef (diff)
downloadrust-e0dc9bd275a61e6eb6fde0356d54cc4072ae7a71.tar.gz
rust-e0dc9bd275a61e6eb6fde0356d54cc4072ae7a71.zip
Add same "-webkit-overflow-scrolling: touch" to the table of contents in the book.
-rw-r--r--src/rustbook/css.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rustbook/css.rs b/src/rustbook/css.rs
index 44c603e01ed..7af95350c95 100644
--- a/src/rustbook/css.rs
+++ b/src/rustbook/css.rs
@@ -29,6 +29,7 @@ body {
     font-size: 16px;
     background: none repeat scroll 0% 0% #FFF;
     box-sizing: border-box;
+    -webkit-overflow-scrolling: touch;
 }
 
 #page-wrapper {