[PE] Fix themes list
This commit is contained in:
parent
de521b5a51
commit
8d54a7d1fb
|
@ -2280,13 +2280,13 @@ define([
|
|||
uid : Common.UI.getId(),
|
||||
themeId : theme.get_Index(),
|
||||
tip : tip,
|
||||
offsety : index * 38
|
||||
offsety : index * 40
|
||||
}));
|
||||
arr2.push({
|
||||
uid : Common.UI.getId(),
|
||||
themeId : theme.get_Index(),
|
||||
tip : tip,
|
||||
offsety : index * 38
|
||||
offsety : index * 40
|
||||
});
|
||||
});
|
||||
_.each(docThemes, function(theme) {
|
||||
|
|
|
@ -893,9 +893,9 @@ define([
|
|||
|
||||
me.listTheme = new Common.UI.ComboDataView({
|
||||
cls: 'combo-styles',
|
||||
itemWidth: 85,
|
||||
itemWidth: 88,
|
||||
enableKeyEvents: true,
|
||||
itemHeight: 38,
|
||||
itemHeight: 40,
|
||||
lock: [_set.themeLock, _set.lostConnect, _set.noSlides],
|
||||
beforeOpenHandler: function (e) {
|
||||
var cmp = this,
|
||||
|
|
|
@ -104,12 +104,18 @@
|
|||
}
|
||||
|
||||
.item-theme {
|
||||
width: 85px;
|
||||
height: 38px;
|
||||
.background-ximage('../../../../../../sdkjs/common/Images/themes_thumbnail.png', '../../../../../../sdkjs/common/Images/themes_thumbnail@2x.png', 85px);
|
||||
width: 88px;
|
||||
height: 40px;
|
||||
.background-ximage-v2('../../../../../../sdkjs/common/Images/themes_thumbnail.png', 88px);
|
||||
background-size: cover
|
||||
}
|
||||
|
||||
.combo-styles {
|
||||
.item {
|
||||
padding: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
#slot-btn-incfont, #slot-btn-decfont, #slot-btn-changecase {
|
||||
margin-left: 2px;
|
||||
}
|
Loading…
Reference in a new issue