Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/14211

Vanessa5f0ba591b255
diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.ts
index 13de7abc3f..823b7bbc66 100644
--- a/app/src/protyle/gutter/index.ts
+++ b/app/src/protyle/gutter/index.ts
@@ -2409,7 +2409,8 @@ data-type="fold" style="cursor:inherit;"><svg style="width: 10px${fold && fold =
let marginHeight = 0;
if (listItem && !window.siyuan.config.editor.rtl) {
const relTempRect = listItem.firstElementChild.getBoundingClientRect();
- if (relTempRect.right <= rect.right) {
+ // + 1 https://github.com/siyuan-note/siyuan/issues/14211
+ if (relTempRect.right <= rect.right + 1) {
rect = relTempRect;
space = 0;
}