You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2020/11/20 13:26:40 UTC

[spark] branch branch-3.0 updated: [SPARK-33422][DOC] Fix the correct display of left menu item

This is an automated email from the ASF dual-hosted git repository.

gurwls223 pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new d7c2dae  [SPARK-33422][DOC] Fix the correct display of left menu item
d7c2dae is described below

commit d7c2daebeed2ac2b858dbe91025894f0ff964a21
Author: liucht <li...@inspur.com>
AuthorDate: Fri Nov 20 22:19:35 2020 +0900

    [SPARK-33422][DOC] Fix the correct display of left menu item
    
    ### What changes were proposed in this pull request?
    Limit the height of the menu area on the left to display vertical scroll bar
    
    ### Why are the changes needed?
    
    The bottom menu item cannot be displayed when the left menu tree is long
    
    ### Does this PR introduce any user-facing change?
    
    Yes, if the menu item shows more, you'll see it by pulling down the vertical scroll bar
    
    before:
    ![image](https://user-images.githubusercontent.com/28332082/98805115-16995d80-2452-11eb-933a-3b72c14bea78.png)
    
    after:
    ![image](https://user-images.githubusercontent.com/28332082/98805418-7e4fa880-2452-11eb-9a9b-8d265078297c.png)
    
    ### How was this patch tested?
    NA
    
    Closes #30335 from liucht-inspur/master.
    
    Authored-by: liucht <li...@inspur.com>
    Signed-off-by: HyukjinKwon <gu...@apache.org>
    (cherry picked from commit cbc8be24c896ed25be63ef9a111ff015af4fabec)
    Signed-off-by: HyukjinKwon <gu...@apache.org>
---
 docs/css/main.css | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/docs/css/main.css b/docs/css/main.css
index bb34d6e..b873992 100755
--- a/docs/css/main.css
+++ b/docs/css/main.css
@@ -79,6 +79,7 @@ body .container-wrapper {
   margin-right: auto;
   border-radius: 15px;
   position: relative;
+  min-height: 100vh;
 }
 
 .title {
@@ -159,6 +160,7 @@ a:hover code {
   max-width: 914px;
   line-height: 1.6; /* Inspired by Github's wiki style */
   padding-left: 30px;
+  min-height: 100vh;
 }
 
 .dropdown-menu {
@@ -239,6 +241,7 @@ a.anchorjs-link:hover { text-decoration: none; }
   border-bottom-width: 0px;
   margin-top: 0px;
   width: 210px;
+  height: 80%;
   float: left;
   position: fixed;
   overflow-y: scroll;


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