Skip to content

Commit d0b7ef4

Browse files
authored
Merge pull request #1206 from RedisInsight/bugfix/RI-3525_electron_styles
#RI-3525-wb edit overflow hidden
2 parents fa0bc58 + 5b7d210 commit d0b7ef4

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
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
}

redisinsight/ui/src/pages/workbench/components/wb-view/WBView/WBView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const WBView = (props: Props) => {
105105
scrollable={false}
106106
className={styles.queryPanel}
107107
initialSize={vertical[verticalPanelIds.firstPanelId] ?? 20}
108-
style={{ minHeight: '140px' }}
108+
style={{ minHeight: '140px', overflow: 'hidden' }}
109109
>
110110
<QueryWrapper
111111
query={script}

0 commit comments

Comments
 (0)