nextstrain / sphinx-theme

A Sphinx theme for Nextstrain's documentation, based on Read The Docs' default theme.
https://docs.nextstrain.org/projects/sphinx-theme/
MIT License
0 stars 5 forks source link

Improve styling of wide tables #18

Closed tsibley closed 2 years ago

tsibley commented 2 years ago

Description of proposed changes

Allows tables to expand with the viewport instead of staying confined within the main content column. See a more detailed description of the behaviour in my added comments.

Also adds a bunch of demo documentation so it's easy to see the effect of this change (and others in the future).

Related issue(s)

Discussion in Slack recently and a bit longer ago.

Testing

Lots of visual inspection and testing of scrolling behaviour in a local build in Firefox.

Preview build with the demo tables.

corneliusroemer commented 2 years ago

Looks great on Nextclade, much appreciated!