Skip to content

Commit e7c1024

Browse files
author
KIvanow
committed
RI-7284 - Warning icon on the pub/sub screen is not aligned
1 parent d64e932 commit e7c1024

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

redisinsight/ui/src/pages/pub-sub/components/messages-list/EmptyMessagesList/EmptyMessagesList.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { Text } from 'uiSrc/components/base/text'
66

77
import { RiIcon } from 'uiSrc/components/base/icons/RiIcon'
88
import styles from './styles.module.scss'
9+
import { Row } from 'uiSrc/components/base/layout/flex'
910

1011
export interface Props {
1112
connectionType?: ConnectionType
@@ -27,10 +28,12 @@ const EmptyMessagesList = ({
2728
Subscribe to the Channel to see all the messages published to your
2829
database
2930
</Text>
30-
<Text className={styles.alert}>
31+
<Row>
3132
<RiIcon type="ToastDangerIcon" className={styles.alertIcon} />
32-
Running in production may decrease performance and memory available
33-
</Text>
33+
<Text className={styles.alert}>
34+
Running in production may decrease performance and memory available
35+
</Text>
36+
</Row>
3437
{connectionType === ConnectionType.Cluster && isSpublishNotSupported && (
3538
<>
3639
<div className={styles.separator} />

0 commit comments

Comments
 (0)