This lets the doc sidebar have its own scrolling container, making the
page easier to navigate in cases where previously the menu was scrolled
far off.
PR-URL: https://github.com/iojs/io.js/pull/1274
Reviewed-by: Chris Dickinson <christopher.s.dickinson@gmail.com>
Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
#column2.interior {
width: 234px;
- float: left;
+ position: fixed;
+ height: 100%;
+ overflow-y: scroll;
+}
+
+#column2.interior:after {
+ content: '';
+ position: fixed;
+ bottom: 0;
+ left: 0;
+ width: 234px;
+ height: 5em;
+ background: linear-gradient(rgba(242,245,240, 0), rgba(242,245,240, 1));
+ pointer-events: none;
}
#column2 ul {
margin-top: 1.25em;
background: #f2f5f0;
margin-bottom: 0;
- padding-bottom: 2.5em;
+ padding-bottom: 4em;
}
#column2 ul li {