Skip to content
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

Yellow background in Exceptions #53

Open
EnyMan opened this issue Mar 29, 2022 · 4 comments
Open

Yellow background in Exceptions #53

EnyMan opened this issue Mar 29, 2022 · 4 comments

Comments

@EnyMan
Copy link

EnyMan commented Mar 29, 2022

Hello, I am noticing some weird behavior with Exceptions and that some parts of the code have a yellow background and are really hard to read.
Example:
image
Here is the the HTML that generates this <span class="ansi-yellow-bg">merge</span>

it is defined here
https://github.com/jupyterlab/jupyterlab/blob/282a55461c81896778cb5841baed583efbd123b0/packages/rendermime/style/base.css#L97-L100

I am using the latest version of JupyterLab 3.3.2

@Davtax
Copy link

Davtax commented May 23, 2022

I have the same problem. Is there any update on this issue?

@EnyMan
Copy link
Author

EnyMan commented May 27, 2022

I am using Stylus and this custom style to fix it

.jp-RenderedText pre .ansi-yellow-bg {
    background-color: rgba(221, 182, 43, .271);
    padding: var(--jp-private-code-span-padding) 0;
}

@MordorianGuy
Copy link

I am using Stylus and this custom style to fix it

.jp-RenderedText pre .ansi-yellow-bg {
    background-color: rgba(221, 182, 43, .271);
    padding: var(--jp-private-code-span-padding) 0;
}

This is an amazing fix, but I hope the authors will mend this inside the extension.

@dhirschfeld
Copy link

I came here to open an issue but will instead just upvote this one

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

No branches or pull requests

4 participants