Skip to content

Commit

Permalink
Merge branch 'master' into update-navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
amitamrutiya authored Oct 25, 2024
2 parents bc878c8 + 18e0aea commit 4775708
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 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
6 changes: 3 additions & 3 deletions src/icons/Menu/MenuIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { DEFAULT_FILL_NONE, DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
import { IconProps } from '../types';

export const AddIcon = ({
export const MenuIcon = ({
width = DEFAULT_WIDTH,
height = DEFAULT_HEIGHT,
fill = DEFAULT_FILL_NONE,
Expand All @@ -13,12 +13,12 @@ export const AddIcon = ({
height={height}
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
data-testid="add-icon-svg"
data-testid="menu-icon-svg"
{...props}
>
<path fill={fill} d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"></path>
</svg>
);
};

export default AddIcon;
export default MenuIcon;

0 comments on commit 4775708

Please sign in to comment.