innovationOUtside / jupyterlab_empinken_extension

Coloured JupyterLab / RetroLab notebook cells based on cell tags
https://innovationoutside.github.io/jupyterlab_empinken_extension/
MIT License
5 stars 0 forks source link

Broken background rendering in notebook 7 #5

Open psychemedia opened 7 months ago

psychemedia commented 7 months ago

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 commented 1 week ago

I think this is fixed?