diff --git a/apps/common/main/resources/less/buttons.less b/apps/common/main/resources/less/buttons.less index 078f8ba5a..bed7c4f18 100644 --- a/apps/common/main/resources/less/buttons.less +++ b/apps/common/main/resources/less/buttons.less @@ -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; diff --git a/apps/spreadsheeteditor/main/app/view/TableSettings.js b/apps/spreadsheeteditor/main/app/view/TableSettings.js index 53f4e456f..1658816f0 100644 --- a/apps/spreadsheeteditor/main/app/view/TableSettings.js +++ b/apps/spreadsheeteditor/main/app/view/TableSettings.js @@ -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; }