Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
patrykyo20 committed Feb 23, 2024
2 parents 6cc40cb + 6a0a70a commit 74fe56f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
23 changes: 23 additions & 0 deletions my-app/src/components/carousel/Carousel.styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,36 @@

.container__slider {
margin-bottom: 24px;
margin-right: 0px;
}
.container__slider .slick-slide .slick-active .slick-current {
margin-right: 10px;
}

.arrows-container {
display: flex;
gap: 16px;
}

.MuiGrid-root {
margin-left: 10px !important;
margin-right: 10px !important;
}

@media (max-width: 640px) {
.MuiGrid-root {
margin-left: 0 !important;
margin-right: 10px !important;
}
}

@media (max-width: 1200px) {
.MuiGrid-root {
margin-left: 0px !important;
margin-right: 0px !important;
}
}

.arrow {
display: flex;
justify-content: center;
Expand Down
7 changes: 3 additions & 4 deletions my-app/src/components/pages/ProductPage/ProductPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export const ProductPage = () => {

return (
<Section>
<>
<>
<Container sx={{mt: 3}}>
{/* BREADCRUMBS */}
<CustomBreadcrumbs
Expand Down Expand Up @@ -333,10 +333,9 @@ export const ProductPage = () => {
</Box>
</Box>
</Box>

</Container>
<Carousel title={'You may also like'} products={recommendedModels} />
</>
<Carousel title={'You may also like'} products={recommendedModels} />
</>
</Section>
);
};

0 comments on commit 74fe56f

Please sign in to comment.