File tree 1 file changed +6
-18
lines changed
1 file changed +6
-18
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ table thead td {
37
37
font-weight : 700 ;
38
38
}
39
39
.sidebar {
40
- position : fixed ;
40
+ position : absolute ;
41
41
left : 0 ;
42
42
top : 0 ;
43
43
bottom : 0 ;
@@ -99,6 +99,7 @@ table thead td {
99
99
}
100
100
.page-wrapper {
101
101
position : absolute;
102
+ overflow-y : auto;
102
103
left : 315px ;
103
104
right : 0 ;
104
105
top : 0 ;
@@ -133,14 +134,7 @@ table thead td {
133
134
left : 0 ;
134
135
bottom : 0 ;
135
136
padding-right : 15px ;
136
- }
137
- @media only screen and (max-width : 400px ) {
138
- .page {
139
- /* Only prevent horizontal scrolling on screens with less than 100px for the content
140
- A better way would be to somehow prevent horizontal scrolling all the time, but this causes scrolling problems on iOS Safari.
141
- Also, would be better to only enable horizontal scrolling when it is needed (content does not fit on page) but I have no idea how to do that. */
142
- overflow-x : hidden;
143
- }
137
+ overflow-y : auto;
144
138
}
145
139
.content {
146
140
margin-left : auto;
@@ -163,7 +157,7 @@ table thead td {
163
157
}
164
158
.menu-bar i {
165
159
position : relative;
166
- padding : 0 10px ;
160
+ margin : 0 10px ;
167
161
z-index : 10 ;
168
162
line-height : 50px ;
169
163
-webkit-transition : color 0.5s ;
@@ -211,7 +205,7 @@ table thead td {
211
205
font-size : 2.5em ;
212
206
text-align : center;
213
207
text-decoration : none;
214
- position : fixed ;
208
+ position : absolute ;
215
209
top : 50px /* Height of menu-bar */ ;
216
210
bottom : 0 ;
217
211
margin : 0 ;
@@ -250,13 +244,7 @@ table thead td {
250
244
.nav-chapters : hover {
251
245
text-decoration : none;
252
246
}
253
- .sidebar-hidden .previous {
254
- left : 0 ;
255
- }
256
- .sidebar-visible .nav-chapters .previous {
257
- left : 300px ;
258
- }
259
- .sidebar-visible .mobile-nav-chapters .previous {
247
+ .previous {
260
248
left : 0 ;
261
249
}
262
250
.next {
You can’t perform that action at this time.
0 commit comments