From 5b1a2d93bfb49eb4f1536df49282e43fad83715b Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 9 Feb 2026 20:20:20 +0200 Subject: [PATCH] fix(tree): child note badge overlapping text (closes #8567) --- apps/client/src/widgets/note_tree.css | 1 - apps/client/src/widgets/note_tree.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/client/src/widgets/note_tree.css b/apps/client/src/widgets/note_tree.css index dbcb66cbc1..8c4f6ad426 100644 --- a/apps/client/src/widgets/note_tree.css +++ b/apps/client/src/widgets/note_tree.css @@ -9,7 +9,6 @@ border-radius: 0.5em; font-size: 0.7rem; font-weight: normal; - float: right; vertical-align: middle; } diff --git a/apps/client/src/widgets/note_tree.ts b/apps/client/src/widgets/note_tree.ts index 68b0310684..5c2aadb1ea 100644 --- a/apps/client/src/widgets/note_tree.ts +++ b/apps/client/src/widgets/note_tree.ts @@ -1992,7 +1992,7 @@ function buildEnhanceTitle() { if (isSubtreeHidden && count > 0) { const $badge = $(`${count}`); $badge.attr("title", t("note_tree.subtree-hidden-tooltip", { count })); - $span.find(".fancytree-title").append($badge); + $span.append($badge); } }; }