From b1feed2443b9cbfc89b1ce3acec48c12dcd55e18 Mon Sep 17 00:00:00 2001 From: ayeshoali Date: Tue, 6 Jun 2023 12:48:10 +0500 Subject: [PATCH] fix: fixes UI according to figma --- src/Notifications/NotificationRowItem.jsx | 6 +++--- src/Notifications/NotificationSections.jsx | 6 +++--- src/Notifications/NotificationTabs.jsx | 4 ++-- src/index.scss | 16 ++++++++++++++++ 4 files changed, 24 insertions(+), 8 deletions(-) diff --git a/src/Notifications/NotificationRowItem.jsx b/src/Notifications/NotificationRowItem.jsx index 136420a..0d31861 100644 --- a/src/Notifications/NotificationRowItem.jsx +++ b/src/Notifications/NotificationRowItem.jsx @@ -32,13 +32,13 @@ const NotificationRowItem = ({ />
-
+
-
+
{courseName} {intl.formatMessage(messages.fullStop)} diff --git a/src/Notifications/NotificationSections.jsx b/src/Notifications/NotificationSections.jsx index 8e1c617..35ba370 100644 --- a/src/Notifications/NotificationSections.jsx +++ b/src/Notifications/NotificationSections.jsx @@ -34,15 +34,15 @@ const NotificationSections = () => { return (
-
- +
+ {section === 'today' && intl.formatMessage(messages.notificationTodayHeading)} {section === 'earlier' && intl.formatMessage(messages.notificationEarlierHeading)} {notifications?.length > 0 && (section === 'earlier' ? today.length === 0 : true) && (