summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2024-10-09 11:56:18 +0200
committerClaire <claire.github-309c@sitedethib.com>2024-10-09 11:56:18 +0200
commit993cff427a1c3e7cfa7d3a7ab0b9ebd804d2f137 (patch)
treee2b647661b14a46ce550005860c48a890215efe5
parent1f79147aa49832e08f8837d37ae99e1ad21d600d (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.scss6
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 {