From fe7acfa9275a86ed542e7c6b4bd7d604aad5fc94 Mon Sep 17 00:00:00 2001 From: streaper2 Date: Sun, 10 May 2026 13:57:43 +0200 Subject: [PATCH] UI: aggressive hyphenation disable and left alignment for all text --- app/globals.css | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/app/globals.css b/app/globals.css index 82e8780..c9943d6 100644 --- a/app/globals.css +++ b/app/globals.css @@ -23,11 +23,16 @@ body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-family: var(--font-sans); + text-align: left; + hyphens: none !important; +} + +* { + hyphens: none !important; } .prose { - text-align: justify; - text-justify: inter-word; + text-align: left; hyphens: none !important; word-break: normal !important; overflow-wrap: break-word; @@ -35,9 +40,11 @@ body { .prose p { margin-bottom: 1.25em; + text-align: left; } h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; hyphens: none !important; + text-align: left; } \ No newline at end of file