Skip to content

Commit 5855b5c

Browse files
ScrapCodessrowen
authored andcommitted
[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 <[email protected]> Closes #19785 from ScrapCodes/doc/css.
1 parent 96e947e commit 5855b5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/css/main.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ a.anchorjs-link:hover { text-decoration: none; }
195195
margin-top: 0px;
196196
width: 210px;
197197
float: left;
198-
position: absolute;
198+
position: fixed;
199199
}
200200

201201
.left-menu {
@@ -286,4 +286,4 @@ label[for="nav-trigger"]:hover {
286286
margin-left: -215px;
287287
}
288288

289-
}
289+
}

0 commit comments

Comments
 (0)