mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-08-10 07:11:18 +02:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user