This repository was archived by the owner on Jul 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,22 @@ export default function GlobalFilter(globalFilterProps: GlobalFilterProps) {
2020 return (
2121 < Search >
2222 < SearchIconWrapper >
23- < SearchIcon />
23+ < div
24+ style = { {
25+ listStyleType : "none" ,
26+ } }
27+ >
28+ < li >
29+ < SearchIcon />
30+ </ li >
31+ < li > { hits } </ li >
32+ </ div >
2433 </ SearchIconWrapper >
2534 < DebouncedInputWrapper >
2635 < DebouncedInput
2736 value = { globalFilter ?? "" }
2837 onChange = { ( value ) => setGlobalFilter ( String ( value ) ) }
29- placeholder = { `Search... ( ${ hits } ) ` }
38+ placeholder = { `Search...` }
3039 />
3140 </ DebouncedInputWrapper >
3241 </ Search >
Original file line number Diff line number Diff line change @@ -18,13 +18,14 @@ export const Search = styled('div')(({ theme }) => ({
1818} ) ) ;
1919
2020export const SearchIconWrapper = styled ( 'div' ) ( ( { theme } ) => ( {
21- padding : theme . spacing ( 0 , 2 ) ,
21+ padding : theme . spacing ( 0 , 1 ) ,
2222 height : '100%' ,
2323 position : 'absolute' ,
2424 pointerEvents : 'none' ,
2525 display : 'flex' ,
2626 alignItems : 'center' ,
2727 justifyContent : 'center' ,
28+ textAlign : 'center'
2829} ) ) ;
2930
3031export const DebouncedInputWrapper = styled ( 'div' ) ( ( { theme } ) => ( {
You can’t perform that action at this time.
0 commit comments