mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Using generic search input clear button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
1 parent
dde23c75ab
commit
0d2f8a3503
2 files changed
+5
-6
No files matched your search
@@ -5,5 +5,9 @@
|
||||
.find-count {
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
label {
|
||||
padding-bottom: 7px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -61,7 +61,7 @@ export const LogSearch = observer((props: Props) => {
|
||||
<SearchInput
|
||||
value={searchQuery}
|
||||
onChange={setSearch}
|
||||
showClearIcon={false}
|
||||
showClearIcon={true}
|
||||
contentRight={totalFinds > 0 && findCounts}
|
||||
onClear={onClear}
|
||||
onKeyDown={onKeyDown}
|
||||
@@ -78,11 +78,6 @@ export const LogSearch = observer((props: Props) => {
|
||||
onClick={onNextOverlay}
|
||||
disabled={jumpDisabled}
|
||||
/>
|
||||
<Icon
|
||||
material="close"
|
||||
tooltip={`Clear`}
|
||||
onClick={onClear}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
});
|
||||
Reference in new issue
Block a user