Skip to content

Commit

Permalink
fix ui bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hasanmd91 committed Jan 15, 2024
1 parent f48c9a0 commit 014823a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
File renamed without changes.
1 change: 0 additions & 1 deletion src/components/ProductSideBar/ProductSideBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const ProductSideBar: React.FC<ProductSideBarPropsType> = () => {

return (
<Stack
width={'250px'}
sx={{
backgroundColor: shades.primary[500],
padding: '20px',
Expand Down
4 changes: 2 additions & 2 deletions src/pages/ProductList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ const ProductList = () => {
return (
<Container maxWidth="xl" sx={{ marginTop: '10px' }}>
<Grid container spacing={1}>
<Grid item md={2}>
<Grid item md={3} xl={2}>
<ProductSideBar />
</Grid>

<Grid item md={10} xs={12}>
<Grid item md={9} xl={10} xs={12}>
<Box>
<SearchBar search={search} setSearch={setSearch} />
{currentProducts?.map((product) => (
Expand Down

0 comments on commit 014823a

Please sign in to comment.