Skip to content

Commit d37d216

Browse files
committed
Rollup merge of 21651 - nelsonjchen:add--webkit-overflow-scrolling-touch-to-book-css, r=alexcrichton
2 parents 2403176 + e0dc9bd commit d37d216

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/rustbook/css.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ body {
2929
font-size: 16px;
3030
background: none repeat scroll 0% 0% #FFF;
3131
box-sizing: border-box;
32+
-webkit-overflow-scrolling: touch;
3233
}
3334
3435
#page-wrapper {
@@ -40,6 +41,7 @@ body {
4041
bottom: 0px;
4142
box-sizing: border-box;
4243
background: none repeat scroll 0% 0% #FFF;
44+
-webkit-overflow-scrolling: touch;
4345
}
4446
4547
#page {

0 commit comments

Comments
 (0)