From c173064627e4c68e189ed28e7ee7b276e5f080fe Mon Sep 17 00:00:00 2001 From: alemi Date: Thu, 4 Jul 2024 04:17:48 +0200 Subject: [PATCH] fix(web): small posts shouldn't break or overflow --- web/index.html | 1 + web/src/objects/item.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/web/index.html b/web/index.html index e43d1b98..c574a003 100644 --- a/web/index.html +++ b/web/index.html @@ -95,6 +95,7 @@ margin: 0 0 0 .5em; } article.float-container { + overflow-y: auto; } b.displayname { overflow-wrap: break-word; diff --git a/web/src/objects/item.rs b/web/src/objects/item.rs index 1aad8314..5b3921ba 100644 --- a/web/src/objects/item.rs +++ b/web/src/objects/item.rs @@ -172,7 +172,7 @@ pub fn Summary(summary: Option, children: Children) -> impl IntoView { Some(summary) => view! {
- {summary} + {summary} {children()}