From 1ff6ec7653d8abca7f73e2e31b459077a0855225 Mon Sep 17 00:00:00 2001 From: Bill Thiede Date: Wed, 9 Apr 2025 20:35:33 -0700 Subject: [PATCH] web: wrap long titles on message view --- web/src/view/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/view/mod.rs b/web/src/view/mod.rs index 586b140..b9539e0 100644 --- a/web/src/view/mod.rs +++ b/web/src/view/mod.rs @@ -1101,7 +1101,7 @@ fn thread( C!["lg:p-4", "max-w-4xl"], div![ C!["p-4", "lg:p-0"], - h3![C!["text-xl"], subject], + h3![C!["text-xl", "break-all", "text-pretty"], subject], span![removable_tags_chiclet(&thread.thread_id, &tags)], IF!(!catchup_mode => div![ C!["pt-4", "gap-2", "flex", "justify-around"], @@ -1401,7 +1401,7 @@ fn news_post( C!["lg:p-4", "max-w-4xl"], div![ C!["p-4", "lg:p-0"], - h3![C!["text-xl"], subject], + h3![C!["text-xl", "break-all", "text-pretty"], subject], span![tag(format!("News/{}", post.slug))], IF!(!catchup_mode => div![ C!["pt-4", "gap-2", "flex", "justify-around"],