Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Revert pull request #851 until better solution found
Browse files Browse the repository at this point in the history
  • Loading branch information
interactivellama committed Nov 21, 2014
1 parent d07a703 commit 62f3474
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 43 deletions.
7 changes: 3 additions & 4 deletions js/repeater-thumbnail.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -90,8 +90,7 @@
thumbnail_infiniteScroll: false,
thumbnail_itemRendered: null,
thumbnail_selectable: false,
// span space required for justified rows
thumbnail_template: '<div class="thumbnail repeater-thumbnail"><img height="75" src="{{src}}" width="65"><span>{{name}}</span></div><span>&nbsp;</span>'
thumbnail_template: '<div class="thumbnail repeater-thumbnail"><img height="75" src="{{src}}" width="65"><span>{{name}}</span></div>'
});

//EXTENSION DEFINITION
Expand Down Expand Up @@ -204,4 +203,4 @@

// -- BEGIN UMD WRAPPER AFTERWORD --
}));
// -- END UMD WRAPPER AFTERWORD --
// -- END UMD WRAPPER AFTERWORD --
41 changes: 2 additions & 39 deletions less/repeater-thumbnail.less
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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;
Expand All @@ -69,12 +39,5 @@
}
}
}

.infinitescroll {
&-end, &-load {
display: inline-block;
width: 100%;
}
}
}
}
}

0 comments on commit 62f3474

Please sign in to comment.