Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 126fdc3

Browse filesBrowse files
silverwindMyles Borins
authored andcommitted
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 <luigipinca@gmail.com> Reviewed-By: Robert Lindstaedt <robert.lindstaedt@gmail.com>
1 parent 2fac15b commit 126fdc3
Copy full SHA for 126fdc3

File tree

Expand file treeCollapse file tree

1 file changed

+1
-9
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-9
lines changed
Open diff view settings
Collapse file

‎doc/api_assets/style.css‎

Copy file name to clipboardExpand all lines: doc/api_assets/style.css
+1-9Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.