Skip to content

Commit c891fae

Browse files
committed
Fix keyboard scrolling in rustbook
1 parent 14b7591 commit c891fae

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/rustbook/static/rustbook.css

+1-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ h1, h2, h3, h4, h5, h6 {
2727

2828
@media only screen {
2929
#toc {
30-
position: absolute;
30+
position: fixed;
3131
left: 0px;
3232
top: 0px;
3333
bottom: 0px;
@@ -48,7 +48,6 @@ h1, h2, h3, h4, h5, h6 {
4848
left: 310px;
4949
right: 0px;
5050
top: 0px;
51-
bottom: 0px;
5251
box-sizing: border-box;
5352
background: none repeat scroll 0% 0% #FFF;
5453
-webkit-overflow-scrolling: touch;

0 commit comments

Comments
 (0)