web: wrap long titles on message view
This commit is contained in:
parent
acd590111e
commit
1ff6ec7653
@ -1101,7 +1101,7 @@ fn thread(
|
|||||||
C!["lg:p-4", "max-w-4xl"],
|
C!["lg:p-4", "max-w-4xl"],
|
||||||
div![
|
div![
|
||||||
C!["p-4", "lg:p-0"],
|
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)],
|
span![removable_tags_chiclet(&thread.thread_id, &tags)],
|
||||||
IF!(!catchup_mode => div![
|
IF!(!catchup_mode => div![
|
||||||
C!["pt-4", "gap-2", "flex", "justify-around"],
|
C!["pt-4", "gap-2", "flex", "justify-around"],
|
||||||
@ -1401,7 +1401,7 @@ fn news_post(
|
|||||||
C!["lg:p-4", "max-w-4xl"],
|
C!["lg:p-4", "max-w-4xl"],
|
||||||
div![
|
div![
|
||||||
C!["p-4", "lg:p-0"],
|
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))],
|
span![tag(format!("News/{}", post.slug))],
|
||||||
IF!(!catchup_mode => div![
|
IF!(!catchup_mode => div![
|
||||||
C!["pt-4", "gap-2", "flex", "justify-around"],
|
C!["pt-4", "gap-2", "flex", "justify-around"],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user