Skip to content

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

:bug: Vertically center the dynamic icon color picker https://github.com/siyuan-note/siyuan/issues/19942

Daniel78d5e50e5dd6
diff --git a/app/src/emoji/index.ts b/app/src/emoji/index.ts
index 78189a649b..474e9a24e5 100644
--- a/app/src/emoji/index.ts
+++ b/app/src/emoji/index.ts
@@ -954,7 +954,7 @@ export const openEmojiPanel = (
<div class="color__square fn__pointer${dynamicCurrentObj.color === "#93627f" ? " color__square--current" : ""}" style="background-color:#93627f"></div>
<div class="color__square fn__pointer${dynamicCurrentObj.color === "#5f6368" ? " color__square--current" : ""}" style="background-color:#5f6368"></div>
<div class="fn__space--small fn__flex-1"></div>
- <input type="color" class="b3-text-field" value="${dynamicCurrentObj.color}" aria-label="${window.siyuan.languages.colorFont}">
+ <input type="color" class="b3-text-field fn__flex-center" value="${dynamicCurrentObj.color}" aria-label="${window.siyuan.languages.colorFont}">
</div>
<div class="fn__flex">
<span class="fn__space"></span>