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

Broken background rendering in notebook 7 #5

Open
psychemedia opened this issue Feb 5, 2024 · 1 comment
Open

Broken background rendering in notebook 7 #5

psychemedia opened this issue Feb 5, 2024 · 1 comment

Comments

@psychemedia
Copy link
Contributor

psychemedia commented Feb 5, 2024

In notebook 7, if a markdown cell is selected, then an empinkened background is not displayed.

Need to add another rule with increased specificity, eg:

body[data-notebook='notebooks'] .jp-Notebook .jp-Cell.jp-MarkdownCell.jp-Notebook-cell.jp-mod-active.iou-activity-node {
    background-color: var(--iou-activity-bg-color) !important;
}

It would be better if we could simplify this rule but still have priority the rule(s) that appears to trump it:

body[data-notebook='notebooks'] .jp-Notebook.jp-mod-commandMode .jp-Cell.jp-mod-active.jp-mod-selected:not(.jp-mod-multiSelected) {
    background: var(--jp-layout-color0) !important;
}
@psychemedia psychemedia changed the title Broken in notebook 7 Broken background rendering in notebook 7 Feb 5, 2024
@psychemedia
Copy link
Contributor Author

I think this is fixed?

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

1 participant