feat: add safe rich content rendering for student flows

This commit is contained in:
Codex
2026-06-29 23:53:15 +08:00
parent c6a21d94bb
commit e17b44274b
12 changed files with 787 additions and 29 deletions

View File

@@ -156,6 +156,40 @@
border-top: 1px solid #e2e8f0;
}
.option-line {
display: flex;
align-items: flex-start;
gap: 10px;
min-width: 0;
}
.option-prefix {
flex: 0 0 auto;
color: #0f172a;
font-size: 26px;
font-weight: 850;
line-height: 1.55;
}
.option-rich {
flex: 1;
min-width: 0;
}
.answer-detail {
margin-top: 16px;
padding-top: 14px;
border-top: 1px solid #e2e8f0;
}
.answer-detail-label {
display: block;
margin-bottom: 8px;
color: #334155;
font-size: 22px;
font-weight: 820;
}
.row-main {
display: block;
color: #111827;
@@ -303,6 +337,21 @@
font-weight: 750;
}
.status-badge.danger {
background: #fff1f2;
color: #be123c;
}
.handbook-entry-body {
margin-top: 14px;
}
.report-sub-result {
margin-top: 14px;
padding-top: 12px;
border-top: 1px dashed #cbd5e1;
}
.answer-sheet {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));