Update to imageeditor.js for bug fix #1207

This commit is contained in:
Influence365 2020-05-27 07:16:24 +01:00 committed by GitHub
parent ef0b4b5f51
commit 9cc10c32ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,7 @@ define(['dialogHelper', 'connectionManager', 'loading', 'dom', 'layoutManager',
var imageUrl = getImageUrl(currentItem, apiClient, image.ImageType, image.ImageIndex, { maxWidth: imageSize });
html += '<div class="cardImageContainer" style="background-image:url(\'' + imageUrl + '\');background-position:center center;"></div>';
html += '<div class="cardImageContainer" style="background-image:url(\'' + imageUrl + '\');background-position:center center; background-size:contain;"></div>';
html += '</div>';
html += '</div>';