[CSS] Show note when editing item


I usually have all notes set to hidden. But whenever I click on an item (to edit it), I want the corresponding note to be displayed in full, regardless of the current visibility setting.

This exceeds my limited CSS knowledge … could someone please help me?


Found this topic, which helped me produce this:

/* Always show note of currently selected item. */
.Node-self:not(.is-contentRendered):not(.is-noteEmpty) > .Node-noteContainer
    display: block !important;

It works for the note visibility options Show and Hide, but not for 1st line. Does anyone know how I can make it work for all note visibility options?