thanks this is great
rather have always collapsed only, than collapsable but manual every time.
updated the CSS, to also hide the arrow.
- Place a CSS file in your vault in
/.obsidian/snippets
.
/* 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;
}
/* hide all arrows, since collapsable arrows don't work anymore */
.search-results-children .tree-item-icon.collapse-icon {
display: none;
}
- enable this in settings
- nice always collapsed