Skip to content

Commit

Permalink
fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia991 committed Aug 7, 2023
1 parent 019143f commit 73cad41
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/components/BasketItem/BasketItem.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
@media (min-width: 600px) {
flex-direction: row;
}
@media (min-width: 1090px) {
justify-content:baseline;
gap: 12px;
}
}

&__main-info {
Expand Down
2 changes: 1 addition & 1 deletion src/components/ProductList/ProductsList.scss
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,4 @@
&__not-found {
height: calc(100vh - 185px);
}
}
}
8 changes: 8 additions & 0 deletions src/components/ProductPage/ProductPage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,17 @@
font-size: 12px;
text-decoration: none;
}

&__block {
display: flex;
align-items: center;
gap: 8px;
}
}

.main {
min-height: calc(100vh - 185px);

&__head {
display: flex;
justify-content: space-between;
Expand Down
2 changes: 1 addition & 1 deletion src/components/ProductPage/ProductPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const ProductPage = () => {
<span className="breadcrumbs__arrow" />

{arrLocation.map(l => (
<span key={l}>
<span key={l} className="breadcrumbs__block">
<Link to={{ pathname: `/${l}` }} className="breadcrumbs__location">
{l.slice(0, 1).toUpperCase() + l.slice(1)}
</Link>
Expand Down

0 comments on commit 73cad41

Please sign in to comment.