From f4ee83131908d16195bdcd165a078699c8241eff Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Mon, 26 Sep 2016 20:19:36 -0700 Subject: [PATCH] Pixel values should use numbers, not strings React converts to string and adds 'px' automatically --- src/renderer/pages/torrent-list-page.js | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/src/renderer/pages/torrent-list-page.js b/src/renderer/pages/torrent-list-page.js index 294e5545..5d003816 100644 --- a/src/renderer/pages/torrent-list-page.js +++ b/src/renderer/pages/torrent-list-page.js @@ -1,5 +1,6 @@ const React = require('react') const prettyBytes = require('prettier-bytes') + const Checkbox = require('material-ui/Checkbox').default const LinearProgress = require('material-ui/LinearProgress').default @@ -120,8 +121,14 @@ module.exports = class TorrentList extends React.Component { @@ -133,11 +140,11 @@ module.exports = class TorrentList extends React.Component { const styles = { wrapper: { display: 'inline-block', - marginRight: '8px' + marginRight: 8 }, progress: { - height: '8px', - width: '30px' + height: 8, + width: 30 } } return (