Skip to content

Commit 6bfc99a

Browse files
authored
Merge pull request #3535 from RedisInsight/fe/bugfix/RI-5857
#RI-5857 - fix styles, fix app crash
2 parents a4353a6 + a50e3d9 commit 6bfc99a

File tree

7 files changed

+12
-31
lines changed

7 files changed

+12
-31
lines changed

redisinsight/ui/src/components/query-card/QueryCardHeader/QueryCardHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ const QueryCardHeader = (props: Props) => {
304304
<EuiButtonIcon
305305
iconType="copy"
306306
aria-label="Copy query"
307-
className="copy-btn"
307+
className={cx('copy-btn', styles.copyBtn)}
308308
disabled={emptyCommand}
309309
onClick={(event: React.MouseEvent) => handleCopy(event, query || '')}
310310
data-testid="copy-command"

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,14 @@ $marginIcon: 12px;
185185
}
186186

187187
.titleWrapper {
188+
justify-content: center;
189+
min-height: 24px;
188190
overflow: hidden;
191+
192+
.copyBtn {
193+
margin-top: 2px;
194+
margin-left: 12px !important;
195+
}
189196
}
190197

191198
.controls {

redisinsight/ui/src/components/side-panels/panels/live-time-recommendations/components/popover-run-analyze/styles.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
padding: 16px 30px !important;
2424
border-color: var(--euiColorPrimary) !important;
2525
:global(.euiPopover__panelArrow:before) {
26-
border-top-color: var(--euiColorPrimary) !important;
26+
border-top-color: var(--euiColorLightShade) !important;
2727
}
2828
}

redisinsight/ui/src/pages/browser/components/bulk-actions/BulkDelete/BulkDeleteFooter/styles.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
.panelPopover {
2020
border-color: var(--euiColorPrimary) !important;
2121
:global(.euiPopover__panelArrow:before) {
22-
border-top-color: var(--euiColorPrimary) !important;
22+
border-top-color: var(--euiColorLightShade) !important;
2323
}
2424
}
2525

redisinsight/ui/src/pages/browser/components/bulk-actions/BulkDelete/styles.module.scss

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -16,32 +16,6 @@
1616
line-height: 24px;
1717
}
1818

19-
.panelPopover {
20-
border-color: var(--euiColorPrimary) !important;
21-
:global(.euiPopover__panelArrow:before) {
22-
border-top-color: var(--euiColorPrimary) !important;
23-
}
24-
}
25-
26-
.popoverIcon {
27-
position: absolute;
28-
color: var(--euiColorWarningLight) !important;
29-
width: 24px !important;
30-
height: 24px !important;
31-
}
32-
33-
.popoverItem {
34-
font-size: 13px !important;
35-
line-height: 18px !important;
36-
padding-left: 34px;
37-
}
38-
39-
.popoverItemTitle {
40-
color: var(--htmlColor) !important;
41-
font-size: 14px !important;
42-
line-height: 24px !important;
43-
}
44-
4519
.content {
4620
display: flex;
4721
min-height: 20px;

redisinsight/ui/src/pages/database-analysis/components/recommendations-view/Recommendations.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const Recommendations = () => {
107107
{title}
108108
</EuiFlexItem>
109109
</EuiFlexGroup>
110-
<EuiFlexItem grow={false}>2
110+
<EuiFlexItem grow={false}>
111111
<RecommendationBadges badges={badges} />
112112
</EuiFlexItem>
113113
</EuiFlexGroup>

redisinsight/ui/src/pages/home/components/form/DatabaseForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ const DatabaseForm = (props: Props) => {
9797
<EuiFormRow label="Host*">
9898
<EuiFieldText
9999
autoFocus={autoFocus}
100-
name="host"
100+
name="ip"
101101
id="host"
102102
data-testid="host"
103103
color="secondary"

0 commit comments

Comments
 (0)