Skip to content

Commit

Permalink
feat: restaurant search
Browse files Browse the repository at this point in the history
  • Loading branch information
ttiimmothy committed Nov 26, 2023
1 parent f83f759 commit a69b966
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/utils/inputs/SearchInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const SearchInput: React.FC<SearchInputProps> = ({
<IoSearch color="#FFFFFF" />
</button>
{isSearching && dishes.length > 0 && (
<div className="absolute top-13 w-80 h-80 flex flex-wrap overflow-y-auto bg-white border rounded-lg p-2">
<div className="absolute top-13 w-80 h-80 flex flex-wrap overflow-y-auto bg-white border rounded-lg p-2 z-4">
{dishes.map((dish) => {
return (
<Link
Expand Down
8 changes: 8 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ export default {
inset: {
13: "3.2rem",
},
zIndex: {
1: "1",
2: "2",
3: "3",
4: "4",
5: "5",
6: "6",
},
},
},
plugins: [],
Expand Down

0 comments on commit a69b966

Please sign in to comment.