executablebooks / sphinx-book-theme

A clean book theme for scientific explanations and documentation with Sphinx
https://sphinx-book-theme.readthedocs.io
BSD 3-Clause "New" or "Revised" License
431 stars 197 forks source link

Large tables overflow and create a horizontal scroller #673

Closed yafimvo closed 1 year ago

yafimvo commented 1 year ago

Describe the bug

context When I use jupyter notebook to print a large table it generates a horizontal scroller on the screen

I expected the page to contain large-width tables

Image:

image

problem This is a problem for people using notebooks to generate large tables in their docs because it might affect the readability

Reproduce the bug

notebook attached

large-table-html-notebook.zip

jupyter-book build --all large-table-html-notebook.ipynb

result image

List your environment

Jupyter Book      : 0.13.1
External ToC      : 0.2.4
MyST-Parser       : 0.15.2
MyST-NB           : 0.13.2
Sphinx Book Theme : 0.3.3
Jupyter-Cache     : 0.4.3
NbClient          : 0.5.13
welcome[bot] commented 1 year ago

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

choldgraf commented 1 year ago

I believe that this one is now fixed via the pydata theme update! Will be in the next release