Add ability to click to expand collapsed notifications

This commit is contained in:
eris 2022-07-28 23:42:16 +00:00
parent 2258174a00
commit 6ed6395c07

View file

@ -153,16 +153,19 @@
--emoji-size: 16px; --emoji-size: 16px;
& .body, & .body:not(:active),
& .attachments { & .attachments {
max-height: 3.25em; max-height: 3.25em;
} }
.body { .body {
overflow: hidden;
white-space: normal; white-space: normal;
min-width: 5em; min-width: 5em;
flex: 5 1 auto; flex: 5 1 auto;
}
.body:not(:active) {
overflow: hidden;
mask-size: auto 3.5em, auto auto; mask-size: auto 3.5em, auto auto;
mask-position: 0 0, 0 0; mask-position: 0 0, 0 0;
mask-repeat: repeat-x, repeat; mask-repeat: repeat-x, repeat;