That did it - thanks a lot, @Piotr!
I narrowed down the selectors to .is-hidingNote
and .is-showingNoteFirstLine
and added some comments to make the intention more clear for potential future readers:
/* Show note of currently SELECTED (highlighted) item, when notes are hidden. */
.Node-self.is-hidingNote:not(.is-contentRendered):not(.is-noteEmpty) > .Node-noteContainer
{
display: block !important;
}
/* Show note of currently SELECTED (highlighted) item, when notes are reduced to first line. */
.Node-self.is-showingNoteFirstLine:not(.is-contentRendered):not(.is-noteEmpty) > .Node-noteContainer .Node-renderedNote
{
display: block !important;
height: auto !important;
}