Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Reiss <me@silverwind.io>2016-01-18 22:21:56 +0300
committerRoman Reiss <me@silverwind.io>2016-01-24 01:10:43 +0300
commit55607a0f32ad0fd94bfb1da84752ea10e4b5b4f2 (patch)
tree3aefb7bcd7d232d0b6f89889c4a41df86d118698 /doc/template.html
parentc00d08f5ec874de5e9b7c969d71117d32340e270 (diff)
doc: style fixes for the TOC
- Hide the scrollbar on the TOC on all browsers. It was never the intention for it to be visible with the scroll indication in place. A wrapper element with 20px padding was added to accommodate for hopefully all scrollbar widths as well as to avoid overflowing content. - Fixed the scroll indication gradient on Safari, which was caused by the wrong from-color, which now matches the to-color. - Fixed a issue in old IE where the TOC didn't render on the correct position through setting `left: 0` and `top: 0` on it. PR-URL: https://github.com/nodejs/node/pull/4748 Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/template.html')
-rw-r--r--doc/template.html12
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/template.html b/doc/template.html
index dec3f506702..47bd4ba3e4a 100644
--- a/doc/template.html
+++ b/doc/template.html
@@ -11,12 +11,14 @@
<body class="alt apidoc" id="api-section-__FILENAME__">
<div id="content" class="clearfix">
<div id="column2" class="interior">
- <div id="intro" class="interior">
- <a href="/" title="Go back to the home page">
- Node.js (1)
- </a>
+ <div class="no-scrollbar">
+ <div id="intro" class="interior">
+ <a href="/" title="Go back to the home page">
+ Node.js (1)
+ </a>
+ </div>
+ __GTOC__
</div>
- __GTOC__
</div>
<div id="column1" data-id="__ID__" class="interior">