From 4b357ecf98f373f5ed31c71ecc1a79d23572cd00 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Wed, 2 Nov 2016 22:29:19 +0100 Subject: [PATCH] Fix subtle bugs, new icon button --- .../javascripts/components/components/icon_button.jsx | 10 +++++++--- app/lib/feed_manager.rb | 2 +- app/services/precompute_feed_service.rb | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/app/assets/javascripts/components/components/icon_button.jsx b/app/assets/javascripts/components/components/icon_button.jsx index 085c18541..663728f34 100644 --- a/app/assets/javascripts/components/components/icon_button.jsx +++ b/app/assets/javascripts/components/components/icon_button.jsx @@ -28,15 +28,19 @@ const IconButton = React.createClass({ render () { const style = { display: 'inline-block', + border: 'none', + padding: '0', + background: 'transparent', fontSize: `${this.props.size}px`, - width: `${this.props.size}px`, + width: `${this.props.size * 1.28571429}px`, height: `${this.props.size}px`, - lineHeight: `${this.props.size}px` + lineHeight: `${this.props.size}px`, + cursor: 'pointer' }; return (