Skip to content

Commit

Permalink
fix thing
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Feb 5, 2020
1 parent e8bd65f commit a4e0d49
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/screens/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,33 +198,28 @@ function SearchScreen() {
return (
<div>
<div css={{position: 'relative'}}>
<label
htmlFor="search-input"
css={{margin: '0 10px 0 0', display: 'block'}}
>
Search Blogposts
</label>
<input
id="search-input"
css={{width: '100%', paddingRight: 50}}
onChange={event => setSearch(event.target.value)}
type="search"
placeholder="Search Blogposts"
aria-label="Search Blogposts"
value={search}
autoFocus
/>
<div
css={{
position: 'absolute',
right: 14,
top: 35,
top: 10,
opacity: 0.6,
fontSize: '0.8rem',
}}
>
{filteredBlogPosts.length}
</div>
</div>
<small css={{marginTop: 10}}>
<small css={{marginTop: 10, display: 'block'}}>
{`If you can't find what you're looking for with this, try `}
<a href="https://www.google.com/search?q=site%3Akentcdodds.com%2Fblog+testing">
using Google
Expand Down

0 comments on commit a4e0d49

Please sign in to comment.