From 16a561a5d53161fe38e8ee45d64b7f5e570d6a09 Mon Sep 17 00:00:00 2001 From: limepotato Date: Thu, 11 Jul 2024 02:16:31 -0600 Subject: [PATCH] compact notifications - zvava --- custom/assets/instance.css | 10 ++++++++++ 1 file changed, 10 insertions(+) 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; } }