Skip to content

Commit 37ec3ac

Browse files
authored
RI-7520: fix icons spacing for multi search input (#5014)
1 parent 9c5e513 commit 37ec3ac

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

redisinsight/ui/src/components/multi-search/MultiSearch.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,7 @@ const MultiSearch = (props: Props) => {
191191
placeholder={placeholder}
192192
value={value}
193193
onKeyDown={handleKeyDown}
194-
onChange={onChange
195-
}
194+
onChange={onChange}
196195
onFocus={() => setIsInputFocus(true)}
197196
onBlur={() => setIsInputFocus(false)}
198197
ref={inputRef}
@@ -292,7 +291,6 @@ const MultiSearch = (props: Props) => {
292291
setShowAutoSuggestions((v) => !v)
293292
inputRef.current?.focus()
294293
}}
295-
className={styles.historyIcon}
296294
data-testid="show-suggestions-btn"
297295
/>
298296
</RiTooltip>

redisinsight/ui/src/components/multi-search/styles.module.scss

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
.multiSearch {
1010
position: relative;
1111
flex: 1;
12+
gap: 8px;
1213
height: 100%;
1314
display: flex;
1415
align-items: center;
@@ -105,10 +106,6 @@
105106
}
106107
}
107108

108-
.historyIcon {
109-
margin-inline: 8px;
110-
}
111-
112109
.clearHistory {
113110
border-top: 1px solid var(--separatorColor);
114111
padding: 8px 10px;

0 commit comments

Comments
 (0)