File tree 2 files changed +15
-0
lines changed
2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,19 @@ a > .hljs {
12
12
color : var (--links );
13
13
}
14
14
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
+
15
28
/* Menu Bar */
16
29
17
30
# menu-bar ,
Original file line number Diff line number Diff line change 54
54
{{ /if }}
55
55
</head >
56
56
<body >
57
+ <div id =" body-container" >
57
58
<!-- Provide site root to javascript -->
58
59
<script >
59
60
var path_to_root = " {{ path_to_root }}" ;
309
310
{{ /if }}
310
311
{{ /if }}
311
312
313
+ </div >
312
314
</body >
313
315
</html >
You can’t perform that action at this time.
0 commit comments