Skip to content

Commit

Permalink
feat: improve SearchBox and filter groups labels alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
zerinoid committed Jul 9, 2023
1 parent 491c039 commit f8a5d36
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/components/inputs/search-box/SearchBox.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@
.container input {
width: 100%;
font-weight: 500;
padding: 0 20px;
margin: 0;
display: inline-block;
background: transparent;
transition: all .15s linear;
height: 40px;
color: black;
font-size: 16px !important;
padding-left: 18px !important;
font-size: 16px;
padding-left: 16px;
}

.container input::placeholder {
Expand Down
2 changes: 1 addition & 1 deletion src/components/inputs/search-box/SearchBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const SearchBox: React.FC<ISearchBox> = ({ value, onChange }) => {
type="search"
value={value}
onChange={handleChange}
placeholder="Search by name"
placeholder="Search by title, name or description"
/>
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion src/components/sections/filter/Filter.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

.filterGroup {
padding-top: 5px;
padding-left: 18px;
padding-left: 16px;
font-size: 12px;
}

Expand Down

0 comments on commit f8a5d36

Please sign in to comment.