jupyter-book / jupyterlab-myst

Use MyST Markdown directly in Jupyter Lab
https://jupyter-book.github.io/jupyterlab-myst/
BSD 3-Clause "New" or "Revised" License
141 stars 16 forks source link

css collision with ipywidgets #125

Open maartenbreddels opened 1 year ago

maartenbreddels commented 1 year ago

Describe the bug

context When I render an ipywidget into a myst markdown cell, it shows white.

expectation I expected it to look 'normal', meaning grey.

Reproduce the bug

import ipywidgets as w
b = w.Button(description="Click")

Markdown

Click me {eval}`b`

List your environment

No response

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:

maartenbreddels commented 1 year ago

For reference, this is what I see in the dev console:

image

Either myst should be less specific, or jupyter-widgets should be more specific, I'm not sure about that.

cc @jasongrout

rowanc1 commented 1 year ago

We did a big push last week on improving styles and CSS compatibility, thanks for reporting! Still lots to do. 🚀