Skip to content

Commit ce0f6c4

Browse files
committed
#RI-5473 - fix header
1 parent 1bf8054 commit ce0f6c4

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
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
@@ -308,7 +308,7 @@ const QueryCardHeader = (props: Props) => {
308308
/>
309309
</div>
310310
</EuiFlexItem>
311-
<EuiFlexItem grow={false}>
311+
<EuiFlexItem className={styles.controls} grow={false}>
312312
<EuiFlexGroup alignItems="center" gutterSize="m" responsive={false}>
313313
<EuiFlexItem className={cx(styles.time)} data-testid="command-execution-date-time">
314314
{!!createdAt && (

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,14 @@ $marginIcon: 12px;
184184
}
185185
}
186186

187+
.titleWrapper {
188+
overflow: hidden;
189+
}
190+
191+
.controls {
192+
flex-shrink: 0;
193+
}
194+
187195
.iconDropdownOption {
188196
width: 20px !important;
189197
height: 20px !important;
@@ -218,7 +226,7 @@ $marginIcon: 12px;
218226
padding-right: 0;
219227

220228
& ~ div {
221-
right: 4px;
229+
right: 0px;
222230
svg {
223231
width: 10px !important;
224232
height: 10px !important;

redisinsight/ui/src/pages/browser/components/redisearch-key-list/styles.module.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,11 @@
6565
}
6666

6767
@include insights-open {
68-
.container,
69-
:global(.euiFormControlLayout__childrenWrapper) {
68+
.container {
7069
width: 154px !important;
70+
:global(.euiFormControlLayout__childrenWrapper) {
71+
width: 154px !important;
72+
}
7173
}
7274
}
7375

0 commit comments

Comments
 (0)