From ef20cd028861cff69cc9314283e2eeb19dbf3095 Mon Sep 17 00:00:00 2001 From: aliraza556 Date: Thu, 21 Mar 2024 17:15:49 +0500 Subject: [PATCH] Fixed Search Input different tabs --- src/components/common/SearchTextInput.tsx | 4 ++-- src/pages/people/peopleList/PeopleList.tsx | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/common/SearchTextInput.tsx b/src/components/common/SearchTextInput.tsx index 3b407368..85478289 100644 --- a/src/components/common/SearchTextInput.tsx +++ b/src/components/common/SearchTextInput.tsx @@ -19,7 +19,7 @@ const Text = styled.input` box-sizing: border-box; border-radius: 21px; padding-left: 20px; - padding-right: 10px; + padding-right: 26px; // width:100%; font-style: normal; font-weight: normal; @@ -61,7 +61,7 @@ function SearchTextInput(props: SearchTextInputProps) { onChange={(e: any) => { setSearchValue(e.target.value); debounceValue = e.target.value; - debounce(doDelayedValueUpdate, 300); + debounce(doDelayedValueUpdate, 800); }} placeholder={'Search'} style={{ ...props.style, ...collapseStyles }} diff --git a/src/pages/people/peopleList/PeopleList.tsx b/src/pages/people/peopleList/PeopleList.tsx index 38ce5161..0843beff 100644 --- a/src/pages/people/peopleList/PeopleList.tsx +++ b/src/pages/people/peopleList/PeopleList.tsx @@ -113,8 +113,7 @@ export const PeopleList = observer(() => { width: 120, height: 40, border: '1px solid #DDE1E5', - background: '#fff', - paddingRight: '26px' + background: '#fff' }} onChange={handleSearchChange} />