style(新年活动): 按钮文件空间宽度计算调整

This commit is contained in:
hzj 2026-01-07 11:53:22 +08:00
parent 26dd38419c
commit cf8310034a

View File

@ -1901,7 +1901,7 @@ const isTextOverflow = (text) => {
document.body.appendChild(tempDiv)
//
const containerWidth = window.innerWidth * 0.94 * 0.5 * 0.6 //
const containerWidth = window.innerWidth * 0.8 * 0.5 * 0.6 //
const textWidth = tempDiv.getBoundingClientRect().width
document.body.removeChild(tempDiv)