Repository: spark
Updated Branches:
  refs/heads/master 96e947ed6 -> 5855b5c03


[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 <prash...@in.ibm.com>

Closes #19785 from ScrapCodes/doc/css.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/5855b5c0
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/5855b5c0
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/5855b5c0

Branch: refs/heads/master
Commit: 5855b5c03e831af997dab9f2023792c9b8d2676c
Parents: 96e947e
Author: Prashant Sharma <prash...@in.ibm.com>
Authored: Tue Nov 21 07:25:56 2017 -0600
Committer: Sean Owen <so...@cloudera.com>
Committed: Tue Nov 21 07:25:56 2017 -0600

----------------------------------------------------------------------
 docs/css/main.css | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/5855b5c0/docs/css/main.css
----------------------------------------------------------------------
diff --git a/docs/css/main.css b/docs/css/main.css
index 175e800..7f1e99b 100755
--- a/docs/css/main.css
+++ b/docs/css/main.css
@@ -195,7 +195,7 @@ a.anchorjs-link:hover { text-decoration: none; }
   margin-top: 0px;
   width: 210px;
   float: left;
-  position: absolute;
+  position: fixed;
 }
 
 .left-menu {
@@ -286,4 +286,4 @@ label[for="nav-trigger"]:hover {
     margin-left: -215px;
   }
 
-}
\ No newline at end of file
+}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to