fix(tree): child note badge overlapping text (closes #8567)

This commit is contained in:
Elian Doran 2026-02-09 20:20:20 +02:00
parent 375838449f
commit 5b1a2d93bf
No known key found for this signature in database
2 changed files with 1 additions and 2 deletions

View File

@ -9,7 +9,6 @@
border-radius: 0.5em;
font-size: 0.7rem;
font-weight: normal;
float: right;
vertical-align: middle;
}

View File

@ -1992,7 +1992,7 @@ function buildEnhanceTitle() {
if (isSubtreeHidden && count > 0) {
const $badge = $(`<span class="note-indicator-icon subtree-hidden-badge">${count}</span>`);
$badge.attr("title", t("note_tree.subtree-hidden-tooltip", { count }));
$span.find(".fancytree-title").append($badge);
$span.append($badge);
}
};
}