From fdf2ead199cca4c31ea8df3fb6221d264897be1d Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sat, 9 May 2026 15:31:40 +0800 Subject: [PATCH] :art: New default appearance icon https://github.com/siyuan-note/siyuan/issues/7976 Signed-off-by: Daniel <845765@qq.com> --- app/appearance/icons/litheness/icon.js | 5 +++-- app/src/assets/scss/protyle/_wysiwyg.scss | 2 +- app/src/protyle/gutter/index.ts | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/appearance/icons/litheness/icon.js b/app/appearance/icons/litheness/icon.js index 66d633590..afed4a283 100644 --- a/app/appearance/icons/litheness/icon.js +++ b/app/appearance/icons/litheness/icon.js @@ -648,8 +648,9 @@ document.body.insertAdjacentHTML('afterbegin', ` - - + + + diff --git a/app/src/assets/scss/protyle/_wysiwyg.scss b/app/src/assets/scss/protyle/_wysiwyg.scss index c9af78803..3ccd36bd9 100644 --- a/app/src/assets/scss/protyle/_wysiwyg.scss +++ b/app/src/assets/scss/protyle/_wysiwyg.scss @@ -647,7 +647,7 @@ background-color: var(--b3-theme-surface-lighter); display: block; position: absolute; - left: -18px; + left: -16px; top: 50%; border-radius: var(--b3-border-radius-b); margin-top: -8px; diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.ts index 636c1d4d7..21c97e961 100644 --- a/app/src/protyle/gutter/index.ts +++ b/app/src/protyle/gutter/index.ts @@ -2642,7 +2642,7 @@ data-type="${type}" data-subtype="${nodeElement.getAttribute("data-subtype")}" d if (type === "NodeListItem" && nodeElement.childElementCount > 3 || type === "NodeHeading") { const fold = nodeElement.getAttribute("fold"); foldHTML = ``; +data-type="fold" style="cursor:inherit;">`; } if (type === "NodeListItem" || type === "NodeList") { listItem = nodeElement;