jupyter / jupyter-sphinx

Sphinx extension for rendering of Jupyter interactive widgets.
https://jupyter-sphinx.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
188 stars 65 forks source link

pandas table overflow #210

Closed chenboshuo closed 11 months ago

chenboshuo commented 2 years ago

when I show tables use this extension, the columns overfolw: image

In jupyter, the output is image We see it was handled by ba scrollbar.

Could you help me to solve this issue? Thanks you for your attention.

akhmerov commented 2 years ago

Can you please provide a minimal reproducible example (what to put in conf.py and into the document)?

ryandvmartin commented 2 years ago

We resolved this issue by adding the following css to our _static/custom.css

div.jupyter_container .output {
  overflow-x: auto;
}
12rambau commented 11 months ago

This issue is usually related to the theme you are using in your documentation. Your solution will be very useful for community members who face the same thing and can't wait for the theme patch.

closing as the problem is not coming from here.