refactor: 集中管理配置常量并优化样式一致性
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user