diff --git a/custom/assets/instance.css b/custom/assets/instance.css index 9014928b4..cf666fe4a 100644 --- a/custom/assets/instance.css +++ b/custom/assets/instance.css @@ -105,3 +105,13 @@ header.sidebar { /* hide instance in all mentions */ .list .notes .article .mention .host { display: none; } + +/* compact notifications */ + +.list.notifications > .noGap .body > .mfm-object { white-space: nowrap; overflow: hidden visible; text-overflow: ellipsis; display: inline-block; width: 100%; -webkit-line-clamp: 1 !important; height: 2em; margin-bottom: -.7em;} +.list.notifications > .noGap > .notification > .note-container > .article { padding: 6.5rem 0 0 0; + & .renote, & > .main > footer, & > .main > .header-container { display: none; }} +.list.notifications > .noGap > .note-container { padding: 1rem 0 .5rem !important; + & > .note-context, & > .article > .main > footer { display: none; } } +.list.notifications > .noGap > .notification._panel { padding: 1rem 2.5rem; + & > .meta { padding: 0; } }