v2.5.1更新

This commit is contained in:
2026-05-29 20:16:25 +08:00
parent fe58ee1d23
commit b2c36cab2c
22 changed files with 347 additions and 166 deletions

View File

@@ -931,19 +931,20 @@ tr:hover {
/* ========== 历史记录页优化 ========== */
/* 时间列:确保分两行显示(日期+时间) */
.history-time {
white-space: pre-line;
white-space: nowrap;
min-width: 80px;
line-height: 1.5;
word-break: break-all;
vertical-align: top;
}
/* 原因列每行最少7个字自动换行 */
.history-reason {
min-width: 7em;
max-width: 200px;
white-space: pre-wrap;
white-space: normal;
word-break: break-word;
line-height: 1.5;
vertical-align: top;
}
/* 学生名列:允许换行 */
@@ -953,6 +954,34 @@ tr:hover {
min-width: 60px;
max-width: 120px;
line-height: 1.5;
vertical-align: top;
}
/* 合并记录复选框样式 */
.history-grouped-label {
display: inline-flex;
align-items: center;
gap: 6px;
cursor: pointer;
font-size: 13px;
padding: 6px 12px;
border: 1px solid var(--color-border);
border-radius: 6px;
background: var(--color-hover);
transition: all 0.2s;
white-space: nowrap;
user-select: none;
}
.history-grouped-label:hover {
border-color: var(--color-primary);
background: var(--color-primary-light);
}
.history-grouped-label input[type="checkbox"] {
width: 16px;
height: 16px;
cursor: pointer;
}
/* 合并记录按钮样式 */