From b166fd87cd720a61bfc32fa16e29e5862578a8c5 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 7 Dec 2023 23:25:40 +0800 Subject: [PATCH] :bug: fix https://github.com/siyuan-note/siyuan/issues/9833 --- app/src/util/Tree.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/app/src/util/Tree.ts b/app/src/util/Tree.ts index 0e891086c..c6fa75da2 100644 --- a/app/src/util/Tree.ts +++ b/app/src/util/Tree.ts @@ -83,15 +83,15 @@ export class Tree { } else { style = `padding-left: ${(item.depth - 1) * 18 + 22}px;margin-right: 2px`; } + const showArrow = hasChild || (item.type === "backlink" && !isMobile()); html += `
  • - + ${iconHTML} @@ -140,14 +140,13 @@ ${item.label ? "data-label='" + item.label + "'" : ""}> } else { style = `padding-left: ${(item.depth - 1) * 18 + 22}px;margin-right: 2px`; } - html += `