FIX: category logo preview in settings shouldn't render it like a background image

This commit is contained in:
Neil Lalonde 2017-03-14 17:11:51 -04:00
parent 7378077036
commit 5c923fef58
2 changed files with 7 additions and 1 deletions

View File

@ -4,7 +4,7 @@
imageId=logoImageId
imageUrl=logoImageUrl
type="category_logo"
class="no-repeat"}}
class="no-repeat contain-image"}}
</section>
<section class='field'>

View File

@ -8,3 +8,9 @@
background-repeat: no-repeat;
}
}
.image-uploader.contain-image {
.uploaded-image-preview {
background-size: contain;
}
}