streamlit / docs

Source code for the Streamlit Python library documentation
https://docs.streamlit.io
Apache License 2.0
111 stars 461 forks source link

Adjust screen width breakpoints and misc fixes #1063

Closed sfc-gh-dmatthews closed 3 months ago

sfc-gh-dmatthews commented 4 months ago

📚 Context

As screen sizes grow larger, comfortable page widths increase. This PR adds a few more break points/screen sizes to increase the maximum page width.

🧠 Description of Changes

New:

image image image

Previous:

image image image

🌐 References

Notion project: Docs papercut: Alignment of left navigation

Contribution License Agreement By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

sfc-gh-dmatthews commented 4 months ago

Looking again, "4xl" pages are probably too wide when there isn't a TOC. That size looks okay on "full" pages, but it's too stretched on when there's no TOC. Maybe I can take off that largest size and only introduce the "3xl" for now?

/develop/concepts/architecture/widget-behavior looks okay at the "4xl" breakpoint, but the homepage is too stretched without a TOC on the right.