Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
Update SearchContainer.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
sonicname committed Jun 25, 2022
1 parent 7a04749 commit ac5aa6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/search/SearchContainer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,18 @@ const SearchContainer = ({ type }) => {
return (
<div className="page-container w-full">
<div className="flex flex-col gap-y-4">
<div className="flex items-center">
<div className="w-full relative">
<input
type="text"
className="flex-1 p-3 font-semibold outline-none rounded-l-md"
className="p-3 w-full font-semibold outline-none rounded-md"
placeholder="Enter your keyword"
ref={inputRef}
defaultValue={query}
/>
<button
ref={searchBtnRef}
onClick={() => setQuery(inputRef.current.value)}
className="p-3 bg-purple-600 text-white font-semibold hover:opacity-75 duration-300 active:scale-90 rounded-r-md"
className="p-3 absolute top-0 right-0 bottom-0 bg-purple-600 text-white font-semibold hover:opacity-75 duration-300 active:scale-90 rounded-r-md"
>
Search
</button>
Expand Down

1 comment on commit ac5aa6f

@vercel
Copy link

@vercel vercel bot commented on ac5aa6f Jun 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.