summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRoman Reiss <me@silverwind.io>2016-05-11 18:15:10 +0200
committersilverwind <me@silverwind.io>2016-05-15 13:47:32 +0200
commitbef1ec086d7ed010937b197ef42554a6d0ecaf67 (patch)
tree243c8a30bbaf958e48074d3b48169f509f73110d /doc
parentf4f6c6e8151071d6d866603d0837d851fdf49157 (diff)
downloadandroid-node-v8-bef1ec086d7ed010937b197ef42554a6d0ecaf67.tar.gz
android-node-v8-bef1ec086d7ed010937b197ef42554a6d0ecaf67.tar.bz2
android-node-v8-bef1ec086d7ed010937b197ef42554a6d0ecaf67.zip
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: https://github.com/nodejs/node/issues/6637 Fixes: https://github.com/nodejs/node/issues/6751 Based on: https://github.com/nodejs/node/pull/5716 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Robert Lindstaedt <robert.lindstaedt@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api_assets/style.css10
1 files changed, 1 insertions, 9 deletions
diff --git a/doc/api_assets/style.css b/doc/api_assets/style.css
index 01d4ad6bc5..b88d7c1f69 100644
--- a/doc/api_assets/style.css
+++ b/doc/api_assets/style.css
@@ -4,7 +4,6 @@ html {
-moz-osx-font-smoothing: grayscale;
-webkit-font-variant-ligatures: none;
font-variant-ligatures: none;
- height: 100%;
}
body {
@@ -14,8 +13,6 @@ body {
padding: 0;
color: #333;
background: #fff;
- overflow: auto;
- height: 100%;
}
pre, tt, code, .pre, span.type, a.type {
@@ -24,9 +21,7 @@ pre, tt, code, .pre, span.type, a.type {
#content {
font-size: 1.8em;
- overflow: hidden;
position: relative;
- height: 100%;
}
a, a:link, a:active {
@@ -366,15 +361,12 @@ a code {
margin-left: 234px;
padding: 0 2em;
-webkit-padding-start: 1.5em;
- height: 100%;
- position: relative;
- overflow-y: scroll;
}
#column2.interior {
width: 234px;
background: #333;
- position: absolute;
+ position: fixed;
left: 0;
top: 0;
bottom: 0;