From 6ed6395c07b7341383e4feed1c10d7c0cb60e229 Mon Sep 17 00:00:00 2001 From: eris Date: Thu, 28 Jul 2022 23:42:16 +0000 Subject: [PATCH] Add ability to click to expand collapsed notifications --- src/components/status_body/status_body.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/status_body/status_body.scss b/src/components/status_body/status_body.scss index 8a218fb2..68cacf98 100644 --- a/src/components/status_body/status_body.scss +++ b/src/components/status_body/status_body.scss @@ -153,16 +153,19 @@ --emoji-size: 16px; - & .body, + & .body:not(:active), & .attachments { max-height: 3.25em; } .body { - overflow: hidden; white-space: normal; min-width: 5em; flex: 5 1 auto; + } + + .body:not(:active) { + overflow: hidden; mask-size: auto 3.5em, auto auto; mask-position: 0 0, 0 0; mask-repeat: repeat-x, repeat;