Skip to content

Conversation

@12rambau
Copy link
Collaborator

Fix #1017

I though initially that the problem was solved by #954, but it wasn't. nbsphinx is not a very nice neighbour as it's injecting its css within the article tag instead of the header. giving it a super high priority over custom and/or our theme css.

Instead of setting an !important statement I simply copy/pasted the complete selector + html making it more specific and thus giving it the priority.

We cannot test it in our theme documentation as we are using mystNB but @seanlaw confirmed it worked from his side.

@12rambau 12rambau marked this pull request as ready for review October 17, 2022 09:20
@choldgraf
Copy link
Collaborator

If this works for @seanlaw then I saw we just merge it in and can keep iterating if folks report more bugs in the future 👍

@choldgraf choldgraf merged commit 3096822 into pydata:main Oct 19, 2022
@12rambau 12rambau deleted the nbsphinx branch July 22, 2023 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expand DataFrame Table Width

2 participants