Skip to content
Snippets Groups Projects
Commit 5855b5c0 authored by Prashant Sharma's avatar Prashant Sharma Committed by Sean Owen
Browse files

[MINOR][DOC] The left navigation bar should be fixed with respect to scrolling.

## What changes were proposed in this pull request?
A minor CSS style change to make Left navigation bar stay fixed with respect to scrolling, it improves usability of the docs.

## How was this patch tested?
It was tested on both, firefox and chrome.
### Before
![a2](https://user-images.githubusercontent.com/992952/33004206-6acf9fc0-cde5-11e7-9070-02f26f7899b0.gif)

### After
![a1](https://user-images.githubusercontent.com/992952/33004205-69b27798-cde5-11e7-8002-509b29786b37.gif)

Author: Prashant Sharma <prashsh1@in.ibm.com>

Closes #19785 from ScrapCodes/doc/css.
parent 96e947ed
No related branches found
No related tags found
No related merge requests found
...@@ -195,7 +195,7 @@ a.anchorjs-link:hover { text-decoration: none; } ...@@ -195,7 +195,7 @@ a.anchorjs-link:hover { text-decoration: none; }
margin-top: 0px; margin-top: 0px;
width: 210px; width: 210px;
float: left; float: left;
position: absolute; position: fixed;
} }
.left-menu { .left-menu {
...@@ -286,4 +286,4 @@ label[for="nav-trigger"]:hover { ...@@ -286,4 +286,4 @@ label[for="nav-trigger"]:hover {
margin-left: -215px; margin-left: -215px;
} }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment