优化问题

This commit is contained in:
duan
2024-05-17 14:12:28 +08:00
parent ea60344f02
commit 07a6425ec4
10 changed files with 66 additions and 40 deletions

View File

@@ -133,7 +133,7 @@
color,
backgroundColor,
fontSize: `${fontSize}px`,
width: `${fontSize * 22 / 14}px`, // 按字体大小为 14px 时的比例缩放
width: `${fontSize * 16 / 14}px`, // 按字体大小为 14px 时的比例缩放
lineHeight: `${fontSize * 20 / 14}px`,
borderRadius: `${fontSize * 3 / 14}px`,
}