diff --git a/apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js b/apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js index 9c97c7ab4d..1055e07bf7 100644 --- a/apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js +++ b/apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js @@ -1385,9 +1385,7 @@ define([ $(document.body).on('mousedown', checkDocumentClick); }, 100, this); - if(Common.Utils.InternalSettings.get('sse-settings-size-filter-window')) { - this.cellsList.scroller.update({minScrollbarLength : this.cellsList.minScrollbarLength, alwaysVisibleY: true, suppressScrollX: true}); - } + this.cellsList.scroller.update({minScrollbarLength : this.cellsList.minScrollbarLength, alwaysVisibleY: true, suppressScrollX: true}); }, show: function (x, y) { @@ -1974,7 +1972,6 @@ define([ } this.btnOk.setDisabled(this.cells.length<1); this.cellsList.scroller.update({minScrollbarLength : this.cellsList.minScrollbarLength, alwaysVisibleY: true, suppressScrollX: true}); - this.cellsList.cmpEl.toggleClass('scroll-padding', this.cellsList.scroller.isVisible()); }, testFilter: function () { diff --git a/apps/spreadsheeteditor/main/resources/less/filterdialog.less b/apps/spreadsheeteditor/main/resources/less/filterdialog.less index eab890eaa4..eca45906f0 100644 --- a/apps/spreadsheeteditor/main/resources/less/filterdialog.less +++ b/apps/spreadsheeteditor/main/resources/less/filterdialog.less @@ -9,10 +9,8 @@ word-break: break-all; } - &.scroll-padding { - .item { - padding-right: 14px; - } + .item { + padding-right: 12px; } }