From c6c6a05c4746a7eee9f4f2d73326df214cd24478 Mon Sep 17 00:00:00 2001 From: streaper2 Date: Sun, 10 May 2026 13:56:28 +0200 Subject: [PATCH] UI: refine typography, restore justification and prevent word cutting --- app/globals.css | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/app/globals.css b/app/globals.css index 244451a..82e8780 100644 --- a/app/globals.css +++ b/app/globals.css @@ -26,12 +26,18 @@ body { } .prose { - text-align: left; - hyphens: none; - word-break: normal; + text-align: justify; + text-justify: inter-word; + hyphens: none !important; + word-break: normal !important; overflow-wrap: break-word; } .prose p { margin-bottom: 1.25em; +} + +h1, h2, h3, h4, h5, h6 { + overflow-wrap: break-word; + hyphens: none !important; } \ No newline at end of file