diff --git a/apps/spreadsheeteditor/main/app/view/PivotSettings.js b/apps/spreadsheeteditor/main/app/view/PivotSettings.js index 8733628669..498fd8c3b0 100644 --- a/apps/spreadsheeteditor/main/app/view/PivotSettings.js +++ b/apps/spreadsheeteditor/main/app/view/PivotSettings.js @@ -351,13 +351,12 @@ define([ this.onMove(2, this.itemIndex, _.isNumber(this.indexMoveTo) ? (this.indexMoveTo !== 0 && this.itemIndex < this.indexMoveTo ? this.indexMoveTo - 1 : this.indexMoveTo) : this.valuesList.store.length - 1); break; } - } else { - $(this.el).find('.item').removeClass('insert last'); } this.itemIndex = undefined; this.indexMoveTo = undefined; } } + $(this.el).find('.item').removeClass('insert last'); }, openAdvancedSettings: function(e) { diff --git a/apps/spreadsheeteditor/main/resources/less/rightmenu.less b/apps/spreadsheeteditor/main/resources/less/rightmenu.less index fe33b68388..b6a2235135 100644 --- a/apps/spreadsheeteditor/main/resources/less/rightmenu.less +++ b/apps/spreadsheeteditor/main/resources/less/rightmenu.less @@ -238,9 +238,11 @@ padding: 3px; border-top: none; &.insert { - background: linear-gradient(to bottom, #656565, #fff 5%); + background: linear-gradient(to bottom, @text-normal-ie, @background-normal-ie 5%); + background: linear-gradient(to bottom, @text-normal, @background-normal 5%); &.last { - background: linear-gradient(to top, #656565, #fff 5%); + background: linear-gradient(to top, @text-normal-ie, @background-normal-ie 5%); + background: linear-gradient(to top, @text-normal, @background-normal 5%); } } &:hover {