commit
cd21ce2283
|
@ -906,10 +906,6 @@
|
|||
&.template-table {
|
||||
width: 92px;
|
||||
}
|
||||
&.sheet-template-table {
|
||||
width: 83px;
|
||||
height: 54px;
|
||||
}
|
||||
|
||||
.icon-template-slicer.icon {
|
||||
min-width: 36px;
|
||||
|
@ -930,6 +926,17 @@
|
|||
position: relative;
|
||||
}
|
||||
|
||||
&.sheet-template-table {
|
||||
width: 83px;
|
||||
height: 54px;
|
||||
|
||||
.icon {
|
||||
border: none;
|
||||
.box-shadow(0 0 0 @scaled-one-px-value-ie @border-regular-control-ie);
|
||||
.box-shadow(0 0 0 @scaled-one-px-value @border-regular-control);
|
||||
}
|
||||
}
|
||||
|
||||
svg.icon {
|
||||
vertical-align: middle;
|
||||
width: 52px;
|
||||
|
|
|
@ -1537,7 +1537,7 @@ define([
|
|||
this.toolbar.fireEvent('insertimage', this.toolbar);
|
||||
|
||||
if (this.api)
|
||||
this.api.asc_addImage();
|
||||
setTimeout(function() {me.api.asc_addImage();}, 1);
|
||||
|
||||
Common.NotificationCenter.trigger('edit:complete', me.toolbar);
|
||||
Common.component.Analytics.trackEvent('ToolBar', 'Image');
|
||||
|
|
|
@ -1556,7 +1556,7 @@ define([
|
|||
if (opts === 'file') {
|
||||
me.toolbar.fireEvent('insertimage', this.toolbar);
|
||||
|
||||
me.api.asc_addImage();
|
||||
setTimeout(function() {me.api.asc_addImage();}, 1);
|
||||
|
||||
Common.NotificationCenter.trigger('edit:complete', this.toolbar);
|
||||
Common.component.Analytics.trackEvent('ToolBar', 'Image');
|
||||
|
|
|
@ -858,7 +858,7 @@ define([
|
|||
this.toolbar.fireEvent('insertimage', this.toolbar);
|
||||
|
||||
if (this.api)
|
||||
this.api.asc_addImage();
|
||||
setTimeout(function() {me.api.asc_addImage();}, 1);
|
||||
|
||||
Common.NotificationCenter.trigger('edit:complete', this.toolbar);
|
||||
Common.component.Analytics.trackEvent('ToolBar', 'Image');
|
||||
|
|
|
@ -452,7 +452,7 @@ define([
|
|||
this.mnuTableTemplatePicker.selectRecord(rec, true);
|
||||
this.btnTableTemplate.resumeEvents();
|
||||
|
||||
this.$el.find('.icon-template-table').css({'background-image': 'url(' + rec.get("imageUrl") + ')', 'height': '48px', 'width': '63px', 'background-position': 'center', 'background-size': 'auto 50px'});
|
||||
this.$el.find('.icon-template-table').css({'background-image': 'url(' + rec.get("imageUrl") + ')', 'height': '46px', 'width': '61px', 'background-position': 'center', 'background-size': 'cover'});
|
||||
|
||||
this._state.TemplateName=value;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue