feat(ebook): add phrase matching display and update search result structure

This commit is contained in:
2026-07-09 11:04:59 -04:00
parent a19ace7959
commit e34ed6c597
3 changed files with 38 additions and 3 deletions
+22
View File
@@ -309,6 +309,28 @@ button:hover {
font-variant-numeric: tabular-nums;
}
.phrase-matches {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: baseline;
margin: 10px 0 0;
font-size: 0.78rem;
}
.phrase-matches-label {
color: var(--muted);
font-weight: 600;
}
.phrase-match {
padding: 3px 10px;
background: var(--bg);
border: 1px solid var(--border);
border-radius: 999px;
color: var(--accent);
}
/* Runtime — developer diagnostics, hidden unless dev mode is on */
.runtime {
display: none;