调整聊天输入栏工具字号
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user