Archived
2
0
Fork 0

Replace react-skylight with own solution that centers images better

This commit is contained in:
Eugen Rochko 2016-11-07 18:23:36 +01:00
parent f5c6baf29d
commit d0d799f911
8 changed files with 64 additions and 35 deletions

View file

@ -35,7 +35,8 @@ const IconButton = React.createClass({
width: `${this.props.size * 1.28571429}px`,
height: `${this.props.size}px`,
lineHeight: `${this.props.size}px`,
cursor: 'pointer'
cursor: 'pointer',
...this.props.style
};
return (