fix: prevent line breaks before punctuation in TFE titles and meta labels

- Override aggressive word-break: break-word from base.css
  with word-break: normal + overflow-wrap: break-word + hyphens: auto
  on .tfe-title, .tfe-author, .tfe-meta-item
- Replace regular spaces before colons with   in all meta labels
  (French typographic rule: non-breaking space before double punctuation)
- Rebuild tfe.min.css
This commit is contained in:
Pontoporeia
2026-07-10 14:47:52 +02:00
parent bbf063f3eb
commit 2461f526bf
3 changed files with 28 additions and 18 deletions
+9
View File
@@ -213,12 +213,18 @@
color: var(--text-primary);
margin: 0;
line-height: 1.3;
word-break: normal;
overflow-wrap: break-word;
hyphens: auto;
}
/* Title (h1) — inherits global scale from base.css */
.tfe-title {
margin: 0;
font-size: var(--step-2);
word-break: normal;
overflow-wrap: break-word;
hyphens: auto;
}
/* Metadata block */
@@ -234,6 +240,9 @@
.tfe-meta-item {
margin: 0;
font-weight: 700;
word-break: normal;
overflow-wrap: break-word;
hyphens: auto;
}
.tfe-meta-label {