pydata-sphinx-theme icon indicating copy to clipboard operation
pydata-sphinx-theme copied to clipboard

fix: improve display of table in the nbsphinx context

Open 12rambau opened this issue 3 years ago • 2 comments

Fix #933

I force the table-layout to auto when the table is nested in a .html_render class I updated the width of the pandas exampe to check to display

@JoerivanEngelen, @jesnie could you confirm that it solves the issue from you side as well ? I cheked the example you gave and the classes embedding the table were quite different than ours.

12rambau avatar Sep 27 '22 18:09 12rambau

Is it possible for us to produce an example that shows the issue? In #958, I cherry-picked f24e6ee and 5a36dc5. To me both tables look fine.

With 9c74db8, the table looks like 954

Without 9c74db8, the table looks like 958

jarrodmillman avatar Sep 28 '22 16:09 jarrodmillman

I don't think it's possible for us to use nbsphinx in our docs without disabling MyST-NB 🤔. Im +1 on merge once others confirm their bug is gone.

choldgraf avatar Sep 28 '22 19:09 choldgraf

It may be worth merging this and releasing 0.11rc1 soon. A release candidate may make it easier for folks to test.

jarrodmillman avatar Oct 02 '22 16:10 jarrodmillman