From 6075de1fbfd1fda8e7ade37fb2c550ac3244a607 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 3 Feb 2025 11:56:14 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/pull/14000 --- app/src/dialog/index.ts | 3 ++- app/src/protyle/hint/index.ts | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/dialog/index.ts b/app/src/dialog/index.ts index dda50dfcb..7f9649d1c 100644 --- a/app/src/dialog/index.ts +++ b/app/src/dialog/index.ts @@ -50,7 +50,8 @@ export class Dialog { } this.element.innerHTML = `
-
+
${options.title || ""}
${options.content}
diff --git a/app/src/protyle/hint/index.ts b/app/src/protyle/hint/index.ts index 88433fc9a..3e99a34fa 100644 --- a/app/src/protyle/hint/index.ts +++ b/app/src/protyle/hint/index.ts @@ -374,8 +374,8 @@ ${genHintItemHTML(item)} } lazyLoadEmojiImg(panelElement); } else { - // /emoji 菜单,min(402px,40vh) 和 .protyle-hint 保持一致,否则不显示底部导航栏 - this.element.innerHTML = `
+ // max-height:min(402px,40vh) 和 .protyle-hint 保持一致,否则 emoji 不显示底部导航 + this.element.innerHTML = `
${filterEmoji(value, 256)}
${[