Skip to content

Commit 9669f9f

Browse files
committed
UI changes
1 parent 2627fb6 commit 9669f9f

File tree

2 files changed

+23
-14
lines changed

2 files changed

+23
-14
lines changed

src/ui/components/Filters/filter.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545

4646
.searchableInput {
47-
border-radius: 0;
47+
border-radius: 0 !important;
4848
width: 146;
4949
height: 40px;
5050
font-size: 12px;

src/ui/components/Filters/index.tsx

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,12 @@ const FilterComponent = ({
530530
const selectStyles = {
531531
control: (base: any) => ({
532532
width: '146px',
533-
...base,
533+
borderRadius: 0,
534+
border: '1px solid grey',
535+
height: '40px',
536+
fontSize: '12px',
537+
display: 'flex'
538+
// ...base,
534539
}),
535540
};
536541

@@ -645,17 +650,21 @@ const FilterComponent = ({
645650
return (
646651
<FlexBox.Column fullWidth>
647652
<div className={styles.inputRow}>
648-
<Box marginRight="md" marginTop='md'>
649-
<SearchInputField
650-
placeholder={'Search'}
651-
value={searchText ? filters[0]?.filterValue : ''}
652-
disabled={applyFilter}
653-
onChange={(value: string) => {
654-
setSearchText(value ? true : false);
655-
handleValueFieldChangeOnSearch(value);
656-
}}
657-
/>
658-
</Box>
653+
654+
{!window.location.href?.includes('components') && (
655+
<Box marginRight="md" marginTop='md'>
656+
<SearchInputField
657+
placeholder={'Search'}
658+
value={searchText ? filters[0]?.filterValue : ''}
659+
disabled={applyFilter}
660+
onChange={(value: string) => {
661+
setSearchText(value ? true : false);
662+
handleValueFieldChangeOnSearch(value);
663+
}}
664+
/>
665+
</Box>
666+
)}
667+
659668

660669
<FlexBox
661670
fullWidth
@@ -902,7 +911,7 @@ const FilterComponent = ({
902911
}}
903912
isClearable={true}
904913
// value={'role'}
905-
className={styles.searchableInput}
914+
className={styles.searchableInput}
906915
// classNamePrefix="select"
907916
// isClearable={false}
908917
/>

0 commit comments

Comments
 (0)