[PE] Fix Bug 49216

This commit is contained in:
Julia Radzhabova 2021-04-09 16:27:45 +03:00
parent d737f1fb18
commit 9cf266ce27

View file

@ -1628,7 +1628,7 @@ define([
store: PE.getCollection('SlideLayouts'),
itemTemplate: _.template([
'<div class="layout" id="<%= id %>" style="width: <%= itemWidth %>px;">',
'<div style="background-image: url(<%= imageUrl %>); width: <%= itemWidth %>px; height: <%= itemHeight %>px;"></div>',
'<div style="background-image: url(<%= imageUrl %>); width: <%= itemWidth %>px; height: <%= itemHeight %>px;background-size: contain;"></div>',
'<div class="title"><%= title %></div> ',
'</div>'
].join(''))