Skip to content

Commit 5b7d210

Browse files
RI-3525-resolve comments
1 parent a903575 commit 5b7d210

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

redisinsight/ui/src/components/bottom-group-components/components/bottom-group-minimized/BottomGroupMinimized.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { useEffect } from 'react'
22
import cx from 'classnames'
3-
import { EuiBadge, EuiFlexGroup, EuiFlexItem, EuiIcon } from '@elastic/eui'
3+
import { EuiBadge, EuiFlexGroup, EuiFlexItem, EuiIcon, EuiHideFor, EuiShowFor } from '@elastic/eui'
44
import { useDispatch, useSelector } from 'react-redux'
55
import { useParams } from 'react-router-dom'
66
import { EXTERNAL_LINKS } from 'uiSrc/constants/links'
@@ -135,7 +135,12 @@ const BottomGroupMinimized = () => {
135135
>
136136
<>
137137
<EuiIcon type={SurveyIcon} className={styles.surveyIcon} />
138-
<span>We need your opinion. Please take our survey.</span>
138+
<EuiHideFor sizes={['xs', 's']}>
139+
<span>We need your opinion. Please take our survey.</span>
140+
</EuiHideFor>
141+
<EuiShowFor sizes={['xs', 's']}>
142+
<span>Survey</span>
143+
</EuiShowFor>
139144
</>
140145
</a>
141146
</div>

redisinsight/ui/src/components/query-card/styles.module.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
@import '@elastic/eui/src/global_styling/index';
44

55
.containerWrapper {
6+
min-width: 420px;
67
&:nth-of-type(even) {
78
background-color: var(--euiColorEmptyShade) !important;
89
}

0 commit comments

Comments
 (0)