[PE] Fix rendering themes
This commit is contained in:
parent
469893845f
commit
d4cc5df5bc
|
@ -2032,7 +2032,7 @@ define([
|
|||
store : PE.getCollection('SlideThemes'),
|
||||
itemTemplate: _.template([
|
||||
'<div class="style" id="<%= id %>" style="width: <%= itemWidth %>px;">',
|
||||
'<div style="background-image: url(<%= imageUrl %>); width: <%= itemWidth %>px; height: <%= itemHeight %>px;background-position: 0 -<%= offsety %>px;"/>',
|
||||
'<div style="background-image: url(<%= imageUrl %>); width: <%= itemWidth %>px; height: <%= itemHeight %>px;background-position: 0 -<%= offsety %>px;background-size: cover;"/>',
|
||||
'</div>'
|
||||
].join(''))
|
||||
}).on('item:click', function(picker, item, record, e) {
|
||||
|
|
|
@ -332,12 +332,4 @@
|
|||
z-index: @zindex-dropdown - 20;
|
||||
background-color: @gray-light;
|
||||
border: 1px solid @gray;
|
||||
}
|
||||
|
||||
.combo-styles {
|
||||
.style {
|
||||
> div {
|
||||
background-size: auto;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue