CSS workaround that is imperfect, but for now good enough for me:
/* backlinks in document - hide expanded parts */
.search-result-file-matches {
display: None !important;
}
/* backlinks in document - keep the font color grayish instead of white */
.tree-item-self {
color: var(--nav-item-color) !important;
}
What’s imperfect:
- you can’t expand anymore
- arrows point down by default instead of to the right