调整聊天输入栏工具字号

This commit is contained in:
pllx
2026-04-30 09:07:10 +08:00
parent 50b050c4bc
commit 45ce8b2b2d
+2 -1
View File
@@ -34,7 +34,8 @@ function applyInputToolbarFontSize(px) {
return;
}
const fontSize = `${px}px`;
const toolbarFontSize = Math.max(1, px - 1);
const fontSize = `${toolbarFontSize}px`;
toolbarRow.style.fontSize = fontSize;
toolbarRow.style.fontFamily = "inherit";
toolbarRow.style.lineHeight = "1.2";