Skip to content

Commit 9c0c89b

Browse files
committed
#RI-5473 - fix query header
1 parent 5e6fc83 commit 9c0c89b

File tree

2 files changed

+5
-28
lines changed

2 files changed

+5
-28
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
@@ -295,7 +295,7 @@ const QueryCardHeader = (props: Props) => {
295295
<EuiFlexGroup alignItems="center" gutterSize="l" responsive={false} style={{ width: '100%' }}>
296296
<EuiFlexItem
297297
className={styles.titleWrapper}
298-
grow={false}
298+
grow
299299
>
300300
<div className="copy-btn-wrapper">
301301
<EuiTextColor className={styles.title} color="subdued" component="div" data-testid="query-card-command">

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

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -43,28 +43,6 @@ $marginIcon: 12px;
4343
}
4444
}
4545

46-
.titleWrapper {
47-
width: calc(100% - 552px);
48-
min-width: calc(100% - 552px);
49-
50-
@media (min-width: $breakpoint-m) {
51-
width: calc(100% - 689px);
52-
min-width: calc(100% - 689px);
53-
}
54-
}
55-
56-
:global(.fullscreen) .titleWrapper {
57-
width: calc(100% - 402px);
58-
59-
@media (min-width: $breakpoint-m) {
60-
width: calc(100% - 474px);
61-
}
62-
63-
@media (min-width: $breakpoint-l) {
64-
width: calc(100% - 519px);
65-
}
66-
}
67-
6846
.title {
6947
display: inline-block;
7048
font: normal normal normal 13px/17px Graphik, sans-serif !important;
@@ -83,9 +61,8 @@ $marginIcon: 12px;
8361
}
8462

8563
.time {
86-
max-width: 70px;
64+
max-width: 90px;
8765
position: relative;
88-
height: 18px;
8966
}
9067

9168
.mode + .mode {
@@ -171,8 +148,8 @@ $marginIcon: 12px;
171148
width: 13px;
172149

173150
@media (min-width: $breakpoint-m) {
174-
min-width: 58px;
175-
width: 58px;
151+
min-width: 92px;
152+
width: 92px;
176153
}
177154
}
178155

@@ -197,7 +174,7 @@ $marginIcon: 12px;
197174
display: flex;
198175
align-items: center;
199176
position: relative;
200-
padding: 3px 0 3px 8px;
177+
padding: 0 0 3px 8px;
201178

202179
span {
203180
margin-left: 10px;

0 commit comments

Comments
 (0)