Skip to content

Commit 18e0aea

Browse files
authored
Merge pull request #771 from amitamrutiya/update-catalog-styling
update styling of search and filter for make consistent with the cloud
2 parents 98a5d96 + d32eaaf commit 18e0aea

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

src/custom/CatalogFilterSection/CatalogFilterSidebar.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,10 @@ const CatalogFilterSidebar: React.FC<CatalogFilterSidebarProps> = ({
100100
</FiltersCardDiv>
101101
<FilterDrawerDiv>
102102
<FilterButton variant="contained" onClick={handleDrawerOpen}>
103-
<FilterAltIcon height="20" width="20" fill={theme.palette.text.default} />
103+
<FilterAltIcon
104+
style={{ height: '28px', width: '28px' }}
105+
fill={theme.palette.text.default}
106+
/>
104107
<FilterText>Filters</FilterText>
105108
</FilterButton>
106109

src/custom/CatalogFilterSection/style.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const FilterButton = styled(Button)(({ theme }) => ({
3737
'&:hover': {
3838
backgroundColor: theme.palette.background.default
3939
},
40-
height: '3.5rem',
40+
height: '3.75rem',
4141
['@media (max-width:450px)']: {
4242
minWidth: '0px'
4343
}

src/custom/StyledSearchBar/style.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ export const StyledSearchInput = styled(OutlinedInput)(({ style, theme }) => ({
88
paddingLeft: '0.25rem'
99
},
1010
display: 'flex',
11-
backgroundColor: theme.palette.background.surfaces,
11+
backgroundColor:
12+
theme.palette.mode === 'light' ? theme.palette.common.white : theme.palette.background.surfaces,
1213
...style
1314
}));
1415

0 commit comments

Comments
 (0)