Skip to content

Commit

Permalink
Remove background, box-shadow and border-bottom from author image (95…
Browse files Browse the repository at this point in the history
…93) (#9623)

<!--
  Q. Which branch should I use for my pull request?
  A. Use `master` branch (probably).

  Q. Which branch if my change is a bug fix for Gatsby v1?
  A. In this case, you should use the `v1` branch

  Q. Which branch if I'm still not sure?
  A. Use `master` branch. Ask in the PR if you're not sure and a Gatsby maintainer will be happy to help :)

  Note: We will only accept bug fixes for Gatsby v1. New features should be added to Gatsby v2.

  Learn more about contributing: https://www.gatsbyjs.org/docs/how-to-contribute/
-->

Fixes #9593
  • Loading branch information
gurtjun authored and DSchau committed Nov 1, 2018
1 parent 5901a8f commit 56eb023
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion www/src/templates/template-blog-post.js
Expand Up @@ -146,7 +146,18 @@ class BlogPostTemplate extends React.Component {
flex: `0 0 auto`,
}}
>
<Link to={post.frontmatter.author.fields.slug}>
<Link
to={post.frontmatter.author.fields.slug}
css={{
"&&": {
borderBottom: 0,
boxShadow: `none`,
"&:hover": {
background: `none`,
},
},
}}
>
<Img
fixed={post.frontmatter.author.avatar.childImageSharp.fixed}
css={{
Expand Down

0 comments on commit 56eb023

Please sign in to comment.