llphxd opened a new pull request, #56424:
URL: https://github.com/apache/spark/pull/56424

   ### What changes were proposed in this pull request?
   
   This PR updates the documentation website layout for pages with a left 
navigation sidebar.
   
   It marks pages that render the left navigation with a dedicated body class, 
prevents page-level horizontal scrolling on those pages, and keeps horizontal 
overflow within the main content area instead. It also gives the left 
navigation an explicit stacking order and background so it is not visually 
overlapped by wide content.
   
   jira [SPARK-57362](https://issues.apache.org/jira/browse/SPARK-57362)
   
   ### Why are the changes needed?
   
   On pages with long inline code or other wide content, horizontal page 
scrolling can cause the main content to overlap the fixed left navigation 
sidebar.
   
   For example, this can be reproduced on the GROUP BY documentation page:
   https://spark.apache.org/docs/latest/sql-ref-syntax-qry-select-groupby.html
   <img width="2186" height="2074" alt="image" 
src="https://github.com/user-attachments/assets/cbf67725-3186-4028-9766-21f1657cc0e0";
 />
   <img width="2512" height="2388" alt="image" 
src="https://github.com/user-attachments/assets/cb22cbb3-b6b6-4e14-baed-00c4c78b4f44";
 />
   
   
   The left navigation should remain visible while wide content is scrolled.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. This changes the documentation website layout behavior for pages with a 
left navigation sidebar. Wide content is now horizontally scrolled within the 
main content area instead of overlapping the left navigation.
   
   ### How was this patch tested?
   
   Manually tested by serving the documentation locally:
   
   ```bash
   SKIP_ERRORDOC=1 SKIP_API=1 bundle exec jekyll serve --host 127.0.0.1 --port 
4000


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to