[PE] Fix Bug 49660

This commit is contained in:
Julia Radzhabova 2021-04-15 15:46:28 +03:00
parent 2eb8cd360a
commit fd08cd87be

View file

@ -2101,7 +2101,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(''))