Skip to content

Commit

Permalink
Merge pull request #771 from amitamrutiya/update-catalog-styling
Browse files Browse the repository at this point in the history
update styling of search and filter for make consistent with the cloud
  • Loading branch information
amitamrutiya authored Oct 25, 2024
2 parents 98a5d96 + d32eaaf commit 18e0aea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/custom/CatalogFilterSection/CatalogFilterSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@ const CatalogFilterSidebar: React.FC<CatalogFilterSidebarProps> = ({
</FiltersCardDiv>
<FilterDrawerDiv>
<FilterButton variant="contained" onClick={handleDrawerOpen}>
<FilterAltIcon height="20" width="20" fill={theme.palette.text.default} />
<FilterAltIcon
style={{ height: '28px', width: '28px' }}
fill={theme.palette.text.default}
/>
<FilterText>Filters</FilterText>
</FilterButton>

Expand Down
2 changes: 1 addition & 1 deletion src/custom/CatalogFilterSection/style.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const FilterButton = styled(Button)(({ theme }) => ({
'&:hover': {
backgroundColor: theme.palette.background.default
},
height: '3.5rem',
height: '3.75rem',
['@media (max-width:450px)']: {
minWidth: '0px'
}
Expand Down
3 changes: 2 additions & 1 deletion src/custom/StyledSearchBar/style.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ export const StyledSearchInput = styled(OutlinedInput)(({ style, theme }) => ({
paddingLeft: '0.25rem'
},
display: 'flex',
backgroundColor: theme.palette.background.surfaces,
backgroundColor:
theme.palette.mode === 'light' ? theme.palette.common.white : theme.palette.background.surfaces,
...style
}));

Expand Down

0 comments on commit 18e0aea

Please sign in to comment.