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

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


The following commit(s) were added to refs/heads/branch-3.1 by this push:
     new d124af5  [SPARK-33796][DOCS][FOLLOWUP] Tweak the width of left-menu of 
Spark SQL Guide
d124af5 is described below

commit d124af57ddcb3fb41cd36c6d56fb28c12e745979
Author: Kousuke Saruta <saru...@oss.nttdata.com>
AuthorDate: Fri Jan 8 09:43:11 2021 -0600

    [SPARK-33796][DOCS][FOLLOWUP] Tweak the width of left-menu of Spark SQL 
Guide
    
    ### What changes were proposed in this pull request?
    
    This PR tweaks the width of left-menu of Spark SQL Guide.
    When I view the Spark SQL Guide with browsers on macOS, the title `Spark 
SQL Guide` looks prettily.
    But I often use Pop!_OS, an Ubuntu variant, and the title is overlapped 
with browsers on it.
    
![spark-sql-guide-layout-before](https://user-images.githubusercontent.com/4736016/104002743-d56cc200-51e4-11eb-9e3a-28abcd46e0bf.png)
    
    After this change, the title is no longer overlapped.
    
![spark-sql-guide-layout-after](https://user-images.githubusercontent.com/4736016/104002847-f9c89e80-51e4-11eb-85c0-01d69cee46b7.png)
    
    ### Why are the changes needed?
    
    For the pretty layout.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Built the document with `cd docs && SKIP_API=1 jekyll build` and confirmed 
the layout.
    
    Closes #31091 from sarutak/modify-layout-sparksql-guide.
    
    Authored-by: Kousuke Saruta <saru...@oss.nttdata.com>
    Signed-off-by: Sean Owen <sro...@gmail.com>
    (cherry picked from commit 023eba2ad72f5119350c6c797808dadcfd1eaa19)
    Signed-off-by: Sean Owen <sro...@gmail.com>
---
 docs/css/main.css | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/css/main.css b/docs/css/main.css
index 309ad7b..6710b6e 100755
--- a/docs/css/main.css
+++ b/docs/css/main.css
@@ -326,7 +326,7 @@ a.anchorjs-link:hover { text-decoration: none; }
   border-left-width: 0px;
   border-bottom-width: 0px;
   margin-top: 0px;
-  width: 210px;
+  width: 220px;
   height: 80%;
   float: left;
   position: fixed;


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

Reply via email to