UI: aggressive hyphenation disable and left alignment for all text

This commit is contained in:
2026-05-10 13:57:43 +02:00
parent c6c6a05c47
commit fe7acfa927

View File

@@ -23,11 +23,16 @@ body {
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
font-family: var(--font-sans); font-family: var(--font-sans);
text-align: left;
hyphens: none !important;
}
* {
hyphens: none !important;
} }
.prose { .prose {
text-align: justify; text-align: left;
text-justify: inter-word;
hyphens: none !important; hyphens: none !important;
word-break: normal !important; word-break: normal !important;
overflow-wrap: break-word; overflow-wrap: break-word;
@@ -35,9 +40,11 @@ body {
.prose p { .prose p {
margin-bottom: 1.25em; margin-bottom: 1.25em;
text-align: left;
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
overflow-wrap: break-word; overflow-wrap: break-word;
hyphens: none !important; hyphens: none !important;
text-align: left;
} }