diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.ts index 98a377ddd..b324c8eb6 100644 --- a/app/src/protyle/gutter/index.ts +++ b/app/src/protyle/gutter/index.ts @@ -587,7 +587,7 @@ export class Gutter { const centerY = iconRect.top + iconRect.height / 2; const lineH = 12; const top = centerY - lineH / 2; - const plusSize = 20; + const plusSize = 16; lineBefore.style.display = ""; lineBefore.style.width = "2px"; lineBefore.style.height = `${lineH}px`; @@ -612,7 +612,7 @@ export class Gutter { // 横排:框线贴块标上下边缘,+号定位在外偏位置 const lineW = 10; const left = rect.left + (rect.width - lineW) / 2; - const plusSize = 20; + const plusSize = 16; const plusLeft = rect.left + (rect.width - plusSize) / 2; lineBefore.style.display = ""; lineBefore.style.width = `${lineW}px`; @@ -2936,6 +2936,6 @@ data-type="fold" style="cursor:inherit;">`); + this.element.insertAdjacentHTML("beforeend", ``); } }