From 63a0fbf8571ed586bf63ea817e150a92add37dad Mon Sep 17 00:00:00 2001 From: "ahmed.mujtaba" Date: Wed, 19 Aug 2026 19:12:42 +0500 Subject: [PATCH] horizontal expansion --- frontend/src/screens/Inbox.jsx | 46 +++++++++++++++++----------------- frontend/src/styles/styles.css | 40 +++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+), 23 deletions(-) diff --git a/frontend/src/screens/Inbox.jsx b/frontend/src/screens/Inbox.jsx index 95644dc..39d63b3 100644 --- a/frontend/src/screens/Inbox.jsx +++ b/frontend/src/screens/Inbox.jsx @@ -463,39 +463,39 @@ function BulkReadBar({ rows, selection, onSetRead, onSetAllRead, busy, canEdit, } return ( -
+
- + 0 + ? `${n} selected` + : `${total} ${total === 1 ? 'message' : 'messages'}${unreadCount ? ` · ${unreadCount} unread` : ''}`} + > {n > 0 ? `${n} selected` - : `${total} ${total === 1 ? 'message' : 'messages'}${unreadCount ? ` · ${unreadCount} unread` : ''}`} + : `${total}${unreadCount ? ` · ${unreadCount}` : ''}`} -
+
{n > 0 ? ( <> @@ -508,7 +508,7 @@ function BulkReadBar({ rows, selection, onSetRead, onSetAllRead, busy, canEdit, onClick={() => flashRead('all', () => onSetAllRead(true))} > {ticked === 'all' && } - Mark all read{unreadCount ? ` (${unreadCount})` : ''} + Read )} @@ -756,14 +756,8 @@ export default function Inbox() { {tab === 'Email' ? ( ) : ( -
-
-
-
- - setQ(e.target.value)} placeholder="Search applications…" /> -
-
+
+
{applicationsQuery.isSuccess && ( )} +
+
+ + setQ(e.target.value)} placeholder="Search applications…" /> +
+
{applicationsQuery.isPending && ( Fetching applications from the server. @@ -1429,8 +1429,8 @@ function EmailTab({ query, toast }) {
-
-
+
+
{query.isSuccess && emails.length > 0 && (