Skip to content

Commit

Permalink
[www] Prevent image twitching in Chrome when hovering a blog index card
Browse files Browse the repository at this point in the history
  • Loading branch information
fk committed May 12, 2018
1 parent 0892559 commit c700f38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions www/src/components/blog-post-preview-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ class BlogPostPreviewItem extends React.Component {
marginRight: rhythm(1 / 2),
marginBottom: 0,
verticalAlign: `top`,
// prevents image twitch in Chrome when hovering the card
transform: `translateZ(0)`,
}}
/>
<div
Expand Down

0 comments on commit c700f38

Please sign in to comment.