From 25f8003d75515fb1c195c6f4ca2ea92a0d58163e Mon Sep 17 00:00:00 2001 From: Claire Date: Wed, 16 Oct 2024 09:30:53 +0200 Subject: [PATCH] Fix only the first paragraph being displayed in some notifications (#32348) --- app/javascript/styles/mastodon/components.scss | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 1f69dab7b..a20e84ce7 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -10804,21 +10804,17 @@ noscript { color: $darker-text-color; -webkit-line-clamp: 4; -webkit-box-orient: vertical; - max-height: 4 * 22px; + max-height: none; overflow: hidden; - p { - display: none; - - &:first-child { - display: initial; - } - } - p, a { color: inherit; } + + p { + margin-bottom: 8px; + } } .reply-indicator__attachments {