From e1bbb7dbdfa1d3a4843d0bf91ad26eae718c6a6f Mon Sep 17 00:00:00 2001 From: Jeremy Kauffman Date: Mon, 8 Aug 2016 00:53:38 -0400 Subject: [PATCH] fix spacing issue --- js/page/discover.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/js/page/discover.js b/js/page/discover.js index 5c6d9bba4..816c4eab0 100644 --- a/js/page/discover.js +++ b/js/page/discover.js @@ -50,16 +50,15 @@ var SearchResults = React.createClass({ var searchRowStyle = { - height: '160px', + height: (24 * 7) + 'px', overflowY: 'hidden' }, searchRowImgStyle = { maxWidth: '100%', - maxHeight: '16 0px', + maxHeight: (24 * 7) + 'px', display: 'block', marginLeft: 'auto', - marginRight: 'auto', - float: 'left' + marginRight: 'auto' }, searchRowTitleStyle = { fontWeight: 'bold' @@ -69,7 +68,6 @@ var }, searchRowDescriptionStyle = { color : '#444', - marginBottom: '24px', marginTop: '12px', fontSize: '0.9em' };