From 62f34742dcc4ca1a93856c9c08ece309625b9e35 Mon Sep 17 00:00:00 2001 From: Stephen James Date: Fri, 21 Nov 2014 16:54:31 -0500 Subject: [PATCH] Revert pull request #851 until better solution found --- js/repeater-thumbnail.js | 7 +++--- less/repeater-thumbnail.less | 41 ++---------------------------------- 2 files changed, 5 insertions(+), 43 deletions(-) diff --git a/js/repeater-thumbnail.js b/js/repeater-thumbnail.js index ae8c86e5c..38cc922f1 100755 --- a/js/repeater-thumbnail.js +++ b/js/repeater-thumbnail.js @@ -8,7 +8,7 @@ // -- BEGIN UMD WRAPPER PREFACE -- -// For more information on UMD visit: +// For more information on UMD visit: // https://github.com/umdjs/umd/blob/master/jqueryPlugin.js (function (factory) { @@ -90,8 +90,7 @@ thumbnail_infiniteScroll: false, thumbnail_itemRendered: null, thumbnail_selectable: false, - // span space required for justified rows - thumbnail_template: '
{{name}}
 ' + thumbnail_template: '
{{name}}
' }); //EXTENSION DEFINITION @@ -204,4 +203,4 @@ // -- BEGIN UMD WRAPPER AFTERWORD -- })); -// -- END UMD WRAPPER AFTERWORD -- +// -- END UMD WRAPPER AFTERWORD -- \ No newline at end of file diff --git a/less/repeater-thumbnail.less b/less/repeater-thumbnail.less index 76f6e0f58..31e058570 100755 --- a/less/repeater-thumbnail.less +++ b/less/repeater-thumbnail.less @@ -1,32 +1,12 @@ .repeater-thumbnail { border: 1px solid #ddd; color: #666; - display: inline-block; + float: left; min-height: 110px; min-width: 100px; margin: 8px 7px; text-align: center; - &:after { - content: ' '; - } - - &.selectable { - &:hover { - background: @selectableHover; - cursor: pointer; - } - } - - &.selected { - background: @selected; - color: #fff; - - &:hover { - background: @selectedHover; - } - } - img { display: block; margin-top: 10px; @@ -39,16 +19,6 @@ padding: 6px; width: 100%; - position: relative; - text-align: justify; - text-size: 0.1px; - - &:after { - display: inline-block; - width: 100%; - content: ''; - } - div.empty { font-style: italic; padding: 20px 10px; @@ -69,12 +39,5 @@ } } } - - .infinitescroll { - &-end, &-load { - display: inline-block; - width: 100%; - } - } } -} +} \ No newline at end of file