diff --git a/src/app/pages/client/inbox/Notifications.tsx b/src/app/pages/client/inbox/Notifications.tsx index 093cf4676..51318f35e 100644 --- a/src/app/pages/client/inbox/Notifications.tsx +++ b/src/app/pages/client/inbox/Notifications.tsx @@ -1,6 +1,6 @@ import type { MouseEventHandler } from 'react'; import { useEffect, useMemo, useRef, useState } from 'react'; -import { Avatar, Box, Chip, Header, IconButton, Scroll, Text, config, toRem } from 'folds'; +import { Avatar, Badge, Box, Chip, Header, IconButton, Scroll, Text, config, toRem } from 'folds'; import { ArrowLeft, CaretUp, @@ -97,18 +97,12 @@ function NotificationItem({ event={event} renderContent={renderContent} actions={ - <> + // One element: MessagePreview drops this straight into a + // justifyContent="SpaceBetween" row, so separate children get spread + // across its full width instead of grouping on the right. + {!isRead && ( - + )} Open @@ -116,7 +110,7 @@ function NotificationItem({ Done - + } onOpen={handleOpen} hour24Clock={hour24Clock}