Fix table templates for retina (Bug 42429)
This commit is contained in:
parent
bce1c51a09
commit
8aef0c2c75
|
@ -478,7 +478,7 @@ define([
|
|||
this.mnuTableTemplatePicker.selectRecord(rec, true);
|
||||
this.btnTableTemplate.resumeEvents();
|
||||
|
||||
this.$el.find('.icon-template-table').css({'background-image': 'url(' + rec.get("imageUrl") + ')', 'height': '52px', 'width': '72px', 'background-position': 'center'});
|
||||
this.$el.find('.icon-template-table').css({'background-image': 'url(' + rec.get("imageUrl") + ')', 'height': '52px', 'width': '72px', 'background-position': 'center', 'background-size': 'cover'});
|
||||
|
||||
this._state.TemplateId = value;
|
||||
}
|
||||
|
|
|
@ -446,7 +446,7 @@ define([
|
|||
this.mnuTableTemplatePicker.selectRecord(rec, true);
|
||||
this.btnTableTemplate.resumeEvents();
|
||||
|
||||
this.$el.find('.icon-template-table').css({'background-image': 'url(' + rec.get("imageUrl") + ')', 'height': '52px', 'width': '72px', 'background-position': 'center'});
|
||||
this.$el.find('.icon-template-table').css({'background-image': 'url(' + rec.get("imageUrl") + ')', 'height': '52px', 'width': '72px', 'background-position': 'center', 'background-size': 'cover'});
|
||||
|
||||
this._state.TemplateId = value;
|
||||
}
|
||||
|
|
|
@ -408,7 +408,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'});
|
||||
this.$el.find('.icon-template-table').css({'background-image': 'url(' + rec.get("imageUrl") + ')', 'height': '48px', 'width': '63px', 'background-position': 'center', 'background-size': 'cover'});
|
||||
|
||||
this._state.TemplateName=value;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue