refactor: 集中管理配置常量并优化样式一致性

This commit is contained in:
zhang1106
2026-03-06 14:39:52 +08:00
parent 0cd0107008
commit 885ac47fd2
19 changed files with 348 additions and 64 deletions
@@ -815,6 +815,24 @@ export const inputPlaceholders = {
// CSS-in-JS 样式字符串生成函数
export const generateGlobalStyles = tokens => `
/* Modal 关闭按钮通用修复 */
.ant-modal-close {
top: 16px !important;
right: 16px !important;
width: 32px !important;
height: 32px !important;
line-height: 32px !important;
}
.ant-modal-close-x {
width: 32px !important;
height: 32px !important;
line-height: 32px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
}
.device-modal .ant-modal-close {
top: 16px;
right: 24px;