Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

Commit

Permalink
fix: search result panel positioning (#14)
Browse files Browse the repository at this point in the history
* search result fix

* twitter icon style change
  • Loading branch information
praveenweb authored Aug 26, 2019
1 parent 1ba8722 commit 3ccc80c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const Header = ({location}) => (
{tweetText !== '' ?
(<li>
<a href={'https://twitter.com/intent/tweet?&text=' + tweetText} target="_blank">
<img className={'twitterIcon'} src={twitter} alt={'Twitter'} />
<img className={'shareIcon'} src={twitter} alt={'Twitter'} />
</a>
</li>) : null
}
Expand Down
6 changes: 4 additions & 2 deletions src/components/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ body {
padding-right: 20px;
flex: 1;
max-width: 600px;
position: relative;
}
.searchWrapper a {
font-weight: 500;
Expand All @@ -111,12 +112,13 @@ body {
border-radius: 4px;
position: absolute;
max-width: 600px;
top: 70px;
top: 40px;
border: 1px solid #ccc;
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.16);
height: auto;
max-height: 80vh;
overflow: scroll;
left: 0;
}
.showResults {
display: block;
Expand Down Expand Up @@ -206,7 +208,7 @@ body {
display: flex;
align-items: center;
}
.navBarUL li a img
.navBarUL li a img, .navBarUL li a .shareIcon
{
width: 20px;
}
Expand Down

0 comments on commit 3ccc80c

Please sign in to comment.