调整创建/编辑任务模态框的警告提示样式

This commit is contained in:
x1ao4 2025-10-10 00:45:19 +08:00
parent 226db683b7
commit 7e12a2da9b

View File

@ -8282,4 +8282,20 @@ div:has(> .collapse:not(.show)):has(+ .row.title[title^="资源搜索"]) {
#editMetadataModal .modal-header {
padding-top: 10.5px;
padding-bottom: 10.5px;
}
/* --------------- 创建/编辑任务模态框:警告提示专属样式 --------------- */
/* 仅作用于 #createTaskModal 内的警告提示,不影响其他位置 */
#createTaskModal .alert-warning {
height: 32px; /* 固定提示栏高度 */
min-height: 32px; /* 覆盖全局 36px */
max-height: 32px; /* 防止内容撑高 */
display: flex; /* 垂直/水平居中文本 */
align-items: center;
justify-content: center;
text-align: center; /* 文本居中 */
margin-bottom: 8px; /* 与周边间距保持一致 */
padding-top: 0; /* 严格控制视觉高度为 32px */
padding-bottom: 0;
box-sizing: border-box; /* 高度包含内边距与边框,避免被额外撑高 */
}