Reduce visual clutter for grouped notification

30 instead of 50 as limit. No more tiny avatars as they don't help much.
pull/543/head
Lim Chee Aun 2024-06-02 22:52:47 +08:00
rodzic adcb87679b
commit 5931ebb8fc
1 zmienionych plików z 2 dodań i 6 usunięć

Wyświetl plik

@ -132,7 +132,7 @@ const MODERATION_WARNING_TEXT = {
suspend: 'Your account has been suspended.',
};
const AVATARS_LIMIT = 50;
const AVATARS_LIMIT = 30;
function Notification({
notification,
@ -374,11 +374,7 @@ function Notification({
? 'xxl'
: _accounts.length < 20
? 'xl'
: _accounts.length < 30
? 'l'
: _accounts.length < 40
? 'm'
: 's' // My god, this person is popular!
: 'l'
}
key={account.id}
alt={`${account.displayName} @${account.acct}`}