aboutsummaryrefslogtreecommitdiff
path: root/src/components/Header
diff options
context:
space:
mode:
authorEugene Sokolov <eug-vs@keemail.me>2020-07-03 18:22:40 +0300
committerGitHub <noreply@github.com>2020-07-03 18:22:40 +0300
commitcb521315c2291eda6b273b5f8a2e014c24ea9758 (patch)
tree3a3a42a347760ccdf54dadeb7dfbcfd673f32947 /src/components/Header
parent2e7f7610169391c78d852caea73190e5d8c0b978 (diff)
parent7fe63f3be94d8711bdfdf714d9a6129318546ef1 (diff)
downloadwhich-ui-cb521315c2291eda6b273b5f8a2e014c24ea9758.tar.gz
Merge pull request #58 from which-ecosystem/improvements
Improvements
Diffstat (limited to 'src/components/Header')
-rw-r--r--src/components/Header/SearchBar.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/Header/SearchBar.tsx b/src/components/Header/SearchBar.tsx
index 253e77f..ba0943b 100644
--- a/src/components/Header/SearchBar.tsx
+++ b/src/components/Header/SearchBar.tsx
@@ -31,6 +31,9 @@ const useStyles = makeStyles(theme => ({
position: 'absolute',
width: '100%',
top: theme.spacing(5)
+ },
+ listItem: {
+ padding: 0
}
}));
@@ -77,7 +80,7 @@ const SearchBar: React.FC = () => {
{
results.map((result, index) => (
<div key={result._id}>
- <ListItem button onClick={handleNavigate(index)}>
+ <ListItem button onClick={handleNavigate(index)} className={classes.listItem}>
<UserStrip user={result} />
</ListItem>
{(index < results.length - 1) && <Divider />}