Skip to content

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

:art: fix https://github.com/siyuan-note/siyuan/issues/7146

Vanessa405b2cd709dc
diff --git a/app/src/assets/scss/_menu.scss b/app/src/assets/scss/_menu.scss
index c7dc63fbc7..4827bbb9b0 100644
--- a/app/src/assets/scss/_menu.scss
+++ b/app/src/assets/scss/_menu.scss
@@ -209,7 +209,7 @@
padding: 0;
display: flex;
flex-direction: column;
- max-height: 394px;
+ max-height: 386px;
&__item {
font-size: 24px;
diff --git a/app/src/protyle/hint/index.ts b/app/src/protyle/hint/index.ts
index 506ad8d952..c0acee5246 100644
--- a/app/src/protyle/hint/index.ts
+++ b/app/src/protyle/hint/index.ts
@@ -740,6 +740,12 @@ ${unicode2Emoji(emoji.unicode, true)}</button>`;
event.stopPropagation();
return true;
}
+ if (event.key === "ArrowLeft" || event.key === "ArrowRight") {
+ hideElements(["hint"], protyle);
+ event.preventDefault();
+ event.stopPropagation();
+ return true;
+ }
return false;
}