fix: 调整设置弹框布局,让内容都能在弹框内显示

This commit is contained in:
2026-04-17 11:00:35 +08:00
parent 2a7ee40cf1
commit 75a12096a4

View File

@@ -73,11 +73,11 @@ body {
/* 按钮 */
button {
padding: 10px 20px;
padding: 8px 16px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 14px;
font-size: 13px;
transition: all 0.2s;
}
@@ -447,7 +447,9 @@ button {
}
.settings-modal-content {
max-width: 600px;
max-width: 650px;
max-height: 85vh;
overflow-y: auto;
}
.modal-close {
@@ -531,35 +533,44 @@ button {
/* 设置模态框 */
.settings-section {
margin-bottom: 20px;
padding-bottom: 15px;
margin-bottom: 12px;
padding-bottom: 10px;
border-bottom: 1px solid #eee;
}
.settings-section:last-of-type {
border-bottom: none;
margin-bottom: 15px;
}
.settings-section h4 {
margin-bottom: 15px;
margin-bottom: 10px;
color: #667eea;
font-size: 14px;
}
.setting-item {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 10px;
gap: 8px;
margin-bottom: 6px;
}
.setting-item label {
min-width: 140px;
min-width: 130px;
color: #555;
font-size: 13px;
}
.setting-item input[type="text"],
.setting-item input[type="number"],
.setting-item input[type="password"] {
flex: 1;
padding: 6px 10px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 13px;
}
flex: 1;
padding: 8px 12px;
border: 1px solid #ddd;
@@ -616,13 +627,6 @@ button {
}
/* 响应式 */
.settings-actions {
margin-top: 20px;
display: flex;
gap: 10px;
justify-content: center;
}
/* 人员库样式 */
.persons-stats {
margin-bottom: 20px;