Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

Commit

Permalink
Clip image border to eliminate soft edge when blurred
Browse files Browse the repository at this point in the history
  • Loading branch information
LINKIWI committed Jun 3, 2018
1 parent adbfa35 commit ac59f91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ class Image extends Component {
const containerStyle = {
backgroundColor: color,
height,
overflow: 'hidden',
position: 'relative',
transition: 'background-color 0.3s ease',
width,
Expand Down

0 comments on commit ac59f91

Please sign in to comment.