Merge pull request 'Add ability to click+hold to expand collapsed notifications' (#70) from eris/pleroma-fe:click-expand-notifs into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Reviewed-on: AkkomaGang/pleroma-fe#70
This commit is contained in:
floatingghost 2022-08-01 11:11:25 +00:00
commit 45d8747fdd

View file

@ -157,16 +157,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;