From 740461b7569c8542845a2f0db4bf01c52564adf1 Mon Sep 17 00:00:00 2001 From: Brad Buchanan Date: Mon, 2 May 2016 15:10:19 -0700 Subject: [PATCH] Fix Tile warnings --- modules/react-material-design/lib/components/Tile.js | 8 ++++---- modules/react-material-design/src/components/Tile.js | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/react-material-design/lib/components/Tile.js b/modules/react-material-design/lib/components/Tile.js index b500e577..fc763985 100644 --- a/modules/react-material-design/lib/components/Tile.js +++ b/modules/react-material-design/lib/components/Tile.js @@ -53,7 +53,7 @@ var Tile = function (_ReactCSS$Component) { sidebar: { minWidth: '56px', maxWidth: '56px', - flexBasis: '56' }, + flexBasis: '56px' }, // 72 minus 16 content: { background: 'none', @@ -77,13 +77,13 @@ var Tile = function (_ReactCSS$Component) { }, 'condensed': { tile: { - paddingBottom: '0', - paddingTop: '0' + paddingBottom: '0px', + paddingTop: '0px' }, sidebar: { minWidth: '28px', maxWidth: '28px', - flexBasis: '28' + flexBasis: '28px' } } }; diff --git a/modules/react-material-design/src/components/Tile.js b/modules/react-material-design/src/components/Tile.js index b83c6435..8243d87a 100644 --- a/modules/react-material-design/src/components/Tile.js +++ b/modules/react-material-design/src/components/Tile.js @@ -23,7 +23,7 @@ class Tile extends ReactCSS.Component { sidebar: { minWidth: '56px', maxWidth: '56px', - flexBasis: '56', // 72 minus 16 + flexBasis: '56px', // 72 minus 16 }, content: { background: 'none', @@ -47,13 +47,13 @@ class Tile extends ReactCSS.Component { }, 'condensed': { tile: { - paddingBottom: '0', - paddingTop: '0', + paddingBottom: '0px', + paddingTop: '0px', }, sidebar: { minWidth: '28px', maxWidth: '28px', - flexBasis: '28', + flexBasis: '28px', }, }, };