diff options
author | Claire <claire.github-309c@sitedethib.com> | 2024-10-09 11:56:18 +0200 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2024-10-09 11:56:18 +0200 |
commit | 993cff427a1c3e7cfa7d3a7ab0b9ebd804d2f137 (patch) | |
tree | e2b647661b14a46ce550005860c48a890215efe5 | |
parent | 1f79147aa49832e08f8837d37ae99e1ad21d600d (diff) |
Don't use `max-height`, only rely on `-webkit-line-clamp`fixes/notification-excerpt-paragraph-take-two
-rw-r--r-- | app/javascript/styles/mastodon/components.scss | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 8552bd7fd2b..8e2dc9d47da 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -10814,13 +10814,17 @@ noscript { color: $darker-text-color; -webkit-line-clamp: 4; -webkit-box-orient: vertical; - max-height: 4 * 22px; + max-height: none; overflow: hidden; p, a { color: inherit; } + + p { + margin-bottom: 8px; + } } .reply-indicator__attachments { |