Skip to content

Commit

Permalink
added white color in modal (#244)
Browse files Browse the repository at this point in the history
* added white color in modal

* search box tex color fixed

* color changed of search input text
  • Loading branch information
PATILYASHH authored Aug 3, 2024
1 parent 9d46bef commit ef20865
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
1 change: 1 addition & 0 deletions src/components/Error/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ h3{
}

.modal {
color: white;
width: 400px;
max-height: 450px;
}
Expand Down
23 changes: 12 additions & 11 deletions src/components/Search/SearchInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,18 @@ function SearchInput({ search, setSearch, setType }) {
className="flex items-center border border-primary gap-4 py-2 px-6 rounded-lg w-11/12 md:w-4/6"
>
<MdSearch className="text-gray text-2xl" />
<input
type="text"
id="searchbox"
value={search}
className="w-full text-sm md:text-base focus:outline-none placholder:font-semibold text-dark bg-transparent"
placeholder="Search for errors"
onChange={(e) => {
setSearch(e.target.value);
setType("");
}}
/>
<input
type="text"
id="searchbox"
value={search}
className="w-full text-sm md:text-base focus:outline-none placeholder:font-semibold bg-transparent custom-input"
placeholder="Search for errors"
onChange={(e) => {
setSearch(e.target.value);
setType("");
}}
/>

<button
className={`focus:outline-none ${!search ? "hidden" : "block"}`}
onClick={() => setSearch("")}
Expand Down

0 comments on commit ef20865

Please sign in to comment.