Skip to content

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

:art: https://github.com/siyuan-note/siyuan/pull/13241

Vanessad410d309757c
diff --git a/app/src/assets/scss/business/_emojis.scss b/app/src/assets/scss/business/_emojis.scss
index 513d6dafeb..564e997002 100644
--- a/app/src/assets/scss/business/_emojis.scss
+++ b/app/src/assets/scss/business/_emojis.scss
@@ -27,7 +27,7 @@
.emoji__dynamic {
&-item {
- width: 74px;
+ width: 73px;
margin: 8px;
cursor: pointer;
transition: var(--b3-transition);
@@ -46,12 +46,11 @@
}
&__item {
- font-size: 24px;
- line-height: .9em; // windows 需要这样设置
+ font-size: 19px;
font-family: var(--b3-font-family-emoji);
text-align: center;
- height: 28px;
- padding: 2px 4px;
+ height: 32px;
+ padding: 4px;
cursor: pointer;
display: inline-block;
transition: var(--b3-transition);
@@ -60,7 +59,7 @@
margin: 1px;
overflow: hidden;
border-radius: var(--b3-border-radius);
- min-width: 32px;
+ width: 32px;
img, svg {
height: 24px;
diff --git a/app/src/emoji/index.ts b/app/src/emoji/index.ts
index 8d3f7ae1f1..2fee4e95c2 100644
--- a/app/src/emoji/index.ts
+++ b/app/src/emoji/index.ts
@@ -249,7 +249,7 @@ export const openEmojiPanel = (id: string, type: "doc" | "notebook" | "av", posi
disableAnimation: true,
transparent: true,
hideCloseIcon: true,
- width: isMobile() ? "80vw" : "372px",
+ width: isMobile() ? "80vw" : "368px",
height: "50vh",
content: `<div class="emojis">
<div class="emojis__tabheader">