Skip to content

Commit 06854f1

Browse files
silverwindMyles Borins
authored and
Myles Borins
committed
doc: fix issues related to page scrolling
Moved the sidebar to a fixed position and moved the main column to the page's body, which results in back/forward navigation through hash links and search highlight working again. Fixes: #6637 Fixes: #6751 Based on: #5716 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Robert Lindstaedt <[email protected]>
1 parent ae13fc7 commit 06854f1

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

doc/api_assets/style.css

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ html {
44
-moz-osx-font-smoothing: grayscale;
55
-webkit-font-variant-ligatures: none;
66
font-variant-ligatures: none;
7-
height: 100%;
87
}
98

109
body {
@@ -14,8 +13,6 @@ body {
1413
padding: 0;
1514
color: #333;
1615
background: #fff;
17-
overflow: auto;
18-
height: 100%;
1916
}
2017

2118
pre, tt, code, .pre, span.type, a.type {
@@ -24,9 +21,7 @@ pre, tt, code, .pre, span.type, a.type {
2421

2522
#content {
2623
font-size: 1.8em;
27-
overflow: hidden;
2824
position: relative;
29-
height: 100%;
3025
}
3126

3227
a, a:link, a:active {
@@ -370,15 +365,12 @@ a code {
370365
margin-left: 234px;
371366
padding: 0 2em;
372367
-webkit-padding-start: 1.5em;
373-
height: 100%;
374-
position: relative;
375-
overflow-y: scroll;
376368
}
377369

378370
#column2.interior {
379371
width: 234px;
380372
background: #333;
381-
position: absolute;
373+
position: fixed;
382374
left: 0;
383375
top: 0;
384376
bottom: 0;

0 commit comments

Comments
 (0)