File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,19 @@ a > .hljs {
1212 color : var (--links );
1313}
1414
15+ /*
16+ body-container is necessary because mobile browsers don't seem to like
17+ overflow-x on the body tag when there is a <meta name="viewport"> tag.
18+ */
19+ # body-container {
20+ /*
21+ This is used when the sidebar pushes the body content off the side of
22+ the screen on small screens. Without it, dragging on mobile Safari
23+ will want to reposition the viewport in a weird way.
24+ */
25+ overflow-x : hidden;
26+ }
27+
1528/* Menu Bar */
1629
1730# menu-bar ,
Original file line number Diff line number Diff line change 5454 {{ /if }}
5555 </head >
5656 <body >
57+ <div id =" body-container" >
5758 <!-- Provide site root to javascript -->
5859 <script >
5960 var path_to_root = " {{ path_to_root }}" ;
309310 {{ /if }}
310311 {{ /if }}
311312
313+ </div >
312314 </body >
313315</html >
You can’t perform that action at this time.
0 commit comments