Skip to content

Commit

Permalink
style: change filter style
Browse files Browse the repository at this point in the history
  • Loading branch information
YehiaFarghaly committed Jan 2, 2024
1 parent eb7db6f commit e929f46
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,17 @@ const FilterDropdown = ({ filterData, onChange, isDrawerOpen, handleDrawerClose
setActiveFilterIndex((prevIndex) => (prevIndex + 1) % filterData.length);
}
};

return (
<Drawer
anchor="right"
open={isDrawerOpen}
onClose={handleDrawerClose}
PaperProps={{ style: { height: 'calc(100% - 80px)', overflow: 'hidden', backgroundColor: '#4527a0', borderRadius: '30px' } }}
PaperProps={{
style: {
height: 'calc(100% - 80px)', overflow: 'hidden', backgroundColor: '#4527a0',
borderRadius: '30px', marginRight: '1%', marginTop: '1%'
}
}}
>
<Slide direction="left" in={isDrawerOpen} mountOnEnter unmountOnExit>
{filterData.length > 0 ? (
Expand Down

0 comments on commit e929f46

Please sign in to comment.