From fffc8cc983f3ee6a6c783842aeff9f1c2b4cec01 Mon Sep 17 00:00:00 2001
From: Lim Chee Aun
Date: Fri, 6 Jan 2023 12:51:53 +0800
Subject: [PATCH] Further grouping of notifications
---
src/app.css | 8 ++++++++
src/pages/notifications.jsx | 35 +++++++++++++++--------------------
2 files changed, 23 insertions(+), 20 deletions(-)
diff --git a/src/app.css b/src/app.css
index 26751dd5..0e50fd3b 100644
--- a/src/app.css
+++ b/src/app.css
@@ -820,6 +820,14 @@ meter.donut:is(.danger, .explode):after {
filter: brightness(0.8);
}
+/* AVATARS STACK */
+
+.avatars-stack {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 4px;
+}
+
@media (min-width: 40em) {
html,
body {
diff --git a/src/pages/notifications.jsx b/src/pages/notifications.jsx
index 378aca72..cf425c83 100644
--- a/src/pages/notifications.jsx
+++ b/src/pages/notifications.jsx
@@ -112,7 +112,7 @@ function Notification({ notification }) {
)}
{_accounts?.length > 1 && (
-
+
{_accounts.map((account, i) => (
<>