o3de / o3de.org

The O3DE website
Other
86 stars 162 forks source link

[SITE][FEATURE] Keep right-side toc in place (do not scroll with contents) #1013

Open willihay opened 3 years ago

willihay commented 3 years ago

Describe the feature you'd like available on the website

The righthand side toc ("contents on page") should not scroll with the contents. It should remain fixed so that readers can jump to another subsection at any time.

Proposed implementation

Fix the righthand side toc in place so that it never scrolls with the main body of the page. Not sure of the technical implementation for this.

Special consideration should be taken on how to handle narrow windows. Currently, the toc pops to the top of the main content if the window width is less than 1500 pixels. This seems like reasonable behavior to keep, although 1500 might be a bit high for the minimum width required to display the right toc.

FiniteStateGit commented 3 years ago

Pages like https://o3de.org/docs/user-guide/project-config/cli-reference/ could be problematic, Hugo might just handle it too.

willihay commented 1 year ago

Adding needs-triage label back to website issues