app/assets/stylesheets/spotlight/_browse.scss in blacklight-spotlight-0.8.0 vs app/assets/stylesheets/spotlight/_browse.scss in blacklight-spotlight-0.8.1
- old
+ new
@@ -23,16 +23,20 @@
.category {
min-height: category-min-height($image-overlay-max-height);
}
.image-overlay {
- img {width: 100%;}
- position: relative;
+ border: 2px solid $gray-light;
+ border-radius: $border-radius-large;
margin-bottom: $image-overlay-bottom-margin;
max-height: 240px;
- border-radius: $border-radius-large;
- border: 2px solid $gray-light;
+ min-height: 140px;
overflow: hidden;
+ position: relative;
+
+ img {
+ width: 100%;
+ }
}
.text-overlay {
position: absolute;
bottom: 0;