Skip to content

Commit

Permalink
Merge pull request #62 from codebase-berkeley/appointment-scheduler-c…
Browse files Browse the repository at this point in the history
…heck-bug-searchicon-rm

checkbox bug fixed, removed search icon from input fields
  • Loading branch information
ranonl authored May 2, 2022
2 parents d326c8e + d457959 commit cb00ba7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
12 changes: 10 additions & 2 deletions client/src/components/SearchBar.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,18 @@
font-weight: 300;
}

input::placeholder{
border-color: #ACB9AC;
.searchInputIcon {
background-image: url(./../images/IsbeesSearchIcon.svg);
background-repeat: no-repeat;
background-position: 97%;
}



/* input::placeholder{
border-color: #ACB9AC;
background-image: url(./../images/IsbeesSearchIcon.svg);
background-repeat: no-repeat;
background-position: 97%;
} */

2 changes: 1 addition & 1 deletion client/src/components/SearchBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function SearchBar(props) {
return (
<div className = "search">
<div className = "searchInputs">
<input
<input className = "searchInputIcon"
value = {props.searchInput}
onInput = {e => props.setSearchInput(e.target.value)}
type = "text"
Expand Down
7 changes: 1 addition & 6 deletions client/src/pages/AppointmentScheduler.css
Original file line number Diff line number Diff line change
Expand Up @@ -231,12 +231,6 @@ p#apptsched-item-checklist-label {
font-weight: 300;
}

input::placeholder{
border-color: #ACB9AC;
background-repeat: no-repeat;
background-position: 97%;
}

.apptsched-name-box {
width: 15vw;
}
Expand Down Expand Up @@ -357,6 +351,7 @@ input::placeholder{

.apptsched-name-box {
width: 80vw;
background-image: none;
}

.apptsched-contact-box {
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/AppointmentScheduler.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export default function AppointmentScheduler() {
<div className="apptsched-pickup-items-selection">
<div className="apptsched-form-check">
<label class="apptsched-form-check-label" for="exampleRadios1">
<input class="form-check-input" type="checkbox" name="exampleRadios" id="checkbox-1" value="kale" ></input>
<input class="apptsched-form-check-input" type="checkbox" name="exampleRadios" id="checkbox-1" value="kale" ></input>
Kale
</label>
</div>
Expand Down

0 comments on commit cb00ba7

Please sign in to comment.