diff options
| author | Rafi Zadanly <rafizadanly@gmail.com> | 2022-12-17 11:08:23 +0700 |
|---|---|---|
| committer | Rafi Zadanly <rafizadanly@gmail.com> | 2022-12-17 11:08:23 +0700 |
| commit | 2448fde2fa0df32c1669082a7d0bab7d423854ec (patch) | |
| tree | 7cedcb907df376a3db923c197fa9785b896aa707 /src/components/Header.js | |
| parent | 6109c9b0bedbfd9b9be787987050102b2d6cba03 (diff) | |
autocomplete color
Diffstat (limited to 'src/components/Header.js')
| -rw-r--r-- | src/components/Header.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Header.js b/src/components/Header.js index fe76baba..17cb5ced 100644 --- a/src/components/Header.js +++ b/src/components/Header.js @@ -144,7 +144,7 @@ export default function Header({ title }) { <SearchIcon /> </button> {suggestions.length > 1 ? ( - <div className="absolute w-full top-[50px] rounded-b bg-white border border-gray-200"> + <div className="absolute w-full top-[50px] rounded-b bg-gray_r-2 border border-gray_r-6"> {suggestions.map((suggestion, index) => ( <p onClick={() => clickSuggestion(suggestion.term)} className="w-full p-2" key={index}>{suggestion.term}</p> ))} @@ -153,7 +153,7 @@ export default function Header({ title }) { </form> </div> {suggestions.length > 1 ? ( - <div className="fixed top-0 left-0 w-full h-full bg-gray-900/60 z-40" onClick={() => setSuggestions([])}></div> + <div className="menu-overlay !z-40" onClick={() => setSuggestions([])}></div> ) : ''} </> ) |
