From a52f07e4e011d7767631083e25286e560fb7da13 Mon Sep 17 00:00:00 2001 From: Alexey Kostenko Date: Tue, 10 Nov 2020 14:28:49 +0300 Subject: [PATCH] Web: Common: FilterInput: Decreased the minimum size of the search field --- web/ASC.Web.Common/src/components/FilterInput/FilterInput.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/ASC.Web.Common/src/components/FilterInput/FilterInput.js b/web/ASC.Web.Common/src/components/FilterInput/FilterInput.js index aa1fd7109b..969dda2618 100644 --- a/web/ASC.Web.Common/src/components/FilterInput/FilterInput.js +++ b/web/ASC.Web.Common/src/components/FilterInput/FilterInput.js @@ -89,7 +89,7 @@ class FilterInput extends React.Component { const { sortDirection, sortId, inputValue } = selectedFilterData; const sortData = getSortData(); - this.minWidth = 190; + this.minWidth = 120; const filterValues = selectedFilterData ? this.getDefaultFilterData() : []; @@ -358,7 +358,7 @@ class FilterInput extends React.Component { calcHiddenItemWidth = (item) => { if (!item) return; const numberOfLetters = item.groupLabel.length + item.label.length; - return numberOfLetters * 6.7 + 60; // 60 - sum of padding + return numberOfLetters * 6.5 + 60; // 60 - sum of padding }; AddItems = (searchWidth) => {