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

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


The following commit(s) were added to refs/heads/branch-3.5 by this push:
     new 98042e34796 [SPARK-46464][DOC] Fix the scroll issue of tables when 
overflow
98042e34796 is described below

commit 98042e34796ec8d83071256142f8e121f50ad1f4
Author: Kent Yao <y...@apache.org>
AuthorDate: Fri Dec 22 11:45:10 2023 +0800

    [SPARK-46464][DOC] Fix the scroll issue of tables when overflow
    
    ### What changes were proposed in this pull request?
    
    
https://spark.apache.org/docs/3.4.1/running-on-kubernetes.html#spark-properties
    
https://spark.apache.org/docs/latest/running-on-kubernetes.html#spark-properties
    
    As listed above, the doc content in 3.5.0 cannot scroll horizontally. Users 
can only see the rest of its content when a table overflows if they zoom out as 
much as possible, resulting in hard-to-read minor characters.
    
    This PR changes the HTML body overflow-x from hidden to auto to enable the 
underlying table to scroll horizontally.
    
    ### Why are the changes needed?
    
    Fix documentation
    
    ### Does this PR introduce _any_ user-facing change?
    
    no
    
    ### How was this patch tested?
    
    #### Before
    
![image](https://github.com/apache/spark/assets/8326978/437bee91-ab0d-4616-aaaf-f99171dcf9f9)
    
    #### After
    
![image](https://github.com/apache/spark/assets/8326978/327ed82b-3e14-4a27-be1a-835a7b21c000)
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    no
    
    Closes #44423 from yaooqinn/SPARK-46464.
    
    Authored-by: Kent Yao <y...@apache.org>
    Signed-off-by: Kent Yao <y...@apache.org>
    (cherry picked from commit fc7d7bce7732a2bccb3a7ccf3ed6bed4ac65f8fc)
    Signed-off-by: Kent Yao <y...@apache.org>
---
 docs/css/custom.css | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/css/custom.css b/docs/css/custom.css
index e7416d9ded6..1239c0ed440 100644
--- a/docs/css/custom.css
+++ b/docs/css/custom.css
@@ -7,7 +7,7 @@ body {
   font-style: normal;
   font-weight: 400;
   overflow-wrap: anywhere;
-  overflow-x: hidden;
+  overflow-x: auto;
   padding-top: 80px;
 }
 


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

Reply via email to