Skip to content

Commit

Permalink
Update catalogue search
Browse files Browse the repository at this point in the history
  • Loading branch information
samwisekind committed Sep 17, 2024
1 parent 0151e6b commit 50dce08
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/components/Filters/Filters.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@

.dropdown {
margin-right: $global-spacing-large;
padding-right: 20px;

@include breakpoint('small') {
margin-right: 0;
Expand All @@ -50,7 +51,7 @@
.search {
margin-left: auto;
display: block;
width: 250px;
width: 350px;

@include breakpoint('small') {
width: 100%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const Search = () => {
<div className={classes.join(' ')}>
<input
type="search"
placeholder="Search by name, ID, AUID..."
placeholder="Search by name, ID, AUID, birth year..."
onChange={({ target }) => handleSearchChange((target as HTMLInputElement).value)}
/>

Expand Down
2 changes: 1 addition & 1 deletion src/pages/research/catalogues/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const Page: NextPage<PageProps> = ({
options: [{ text: 'Bottlenose dolphins', value: 'bottlenose-dolphin' }],
callback: () => {},
}]}
searchLabel="Search by ID or name..."
searchLabel="Search by name, ID, AUID, birth year..."
/>

<div className={loading ? styles.loading : ''}>
Expand Down

0 comments on commit 50dce08

Please sign in to comment.