-
-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code blocks are sometimes rendered without a background #1090
Comments
Is it worth the same JupyterLab version of do these differ? |
@krassowski Great callout! My M1 MBP (bugged) is running JupyterLab v4.3.0, and my Intel MBP is running JupyterLab v4.2.2 (not bugged). I'll see if I can reproduce this on my Intel MBP and confirm/reject the hypothesis that this is due to Chrome on ARM. |
Could it be related to one of the CSS changes https://jupyterlab.readthedocs.io/en/latest/extension/extension_migration.html#css-styling ? |
@krassowski The bug now appears on my Intel MBP (x86) after I upgrade to JupyterLab v4.3.0. This happens both in my development environment (running a dev build) and in a fresh environment (running a Conda Forge build). Therefore, we can be confident that this issue isn't caused by Chrome on ARM or a difference between development and registry installs.
Certainly possible! Thanks for sharing that reference, I'll take a look now. |
Description
Code blocks in Jupyter AI are sometimes rendered without a background and border, as shown in the screenshot below.
When this bug arises, it affects all code blocks in the chat UI. This bug exists in Jupyter AI v2.27.0.
Thank you @ellisonbg for originally reporting this issue.
Reproduce
I haven't been able to reproduce this bug myself. Our team needs to work further to determine when & how this bug arises.
Expected behavior
Code blocks should always be rendered with a background and border.
Context
Code blocks are rendered via
@jupyterlab/rendermime-extension
internally. The definition of the component can be found inrendermime-markdown.tsx
.The text was updated successfully, but these errors were encountered: