Skip to content

Commit bd2101f

Browse files
committed
fix(ui): update popover notifications spacing
1 parent faa04e5 commit bd2101f

File tree

1 file changed

+4
-3
lines changed
  • redisinsight/ui/src/components/navigation-menu/components/notifications-center/Notification

1 file changed

+4
-3
lines changed

redisinsight/ui/src/components/navigation-menu/components/notifications-center/Notification/Notification.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ import { Text } from 'uiSrc/components/base/text'
1313
import { RiBadge } from 'uiSrc/components/base/display/badge/RiBadge'
1414

1515
import styles from '../styles.module.scss'
16+
import { S } from 'msw/lib/glossary-2792c6da'
17+
import { Spacer } from 'uiSrc/components/base/layout'
1618

1719
export interface Props {
1820
notification: IGlobalNotification
@@ -31,10 +33,9 @@ const Notification = (props: Props) => {
3133
>
3234
{notification.title}
3335
</Title>
34-
36+
<Spacer size="s" />
3537
<Text
3638
size="s"
37-
color="subdued"
3839
className={cx('notificationHTMLBody', styles.notificationBody)}
3940
data-testid="notification-body"
4041
>
@@ -43,7 +44,7 @@ const Notification = (props: Props) => {
4344

4445
<Row className={styles.notificationFooter} align="center" justify="start">
4546
<FlexItem>
46-
<Text size="xs" color="subdued" data-testid="notification-date">
47+
<Text size="xs" data-testid="notification-date">
4748
{format(notification.timestamp * 1000, NOTIFICATION_DATE_FORMAT)}
4849
</Text>
4950
</FlexItem>

0 commit comments

Comments
 (0)