Skip to content

Commit

Permalink
project updated
Browse files Browse the repository at this point in the history
  • Loading branch information
shubho0908 committed Mar 12, 2023
1 parent 0f47f8b commit 2a43d02
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/Components/ProductPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ function ProductPage() {
return (
<>
<Navbar />
<div className="product-page">
<div
style={product ? { height: "100%" } : { height: "100vh" }}
className="product-page"
>
<div className={product ? `product-dataa animate` : `product-dataa`}>
<div className="item-image">
<img
Expand Down
6 changes: 4 additions & 2 deletions src/Components/productpage.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
justify-content: space-evenly;
top: 180px;
width: 75%;
height: 100vh;
margin-bottom: 20px;
height: 100%;
margin-bottom: 210px;
}

.product-details {
Expand Down Expand Up @@ -340,6 +340,7 @@
flex-direction: column;
align-items: center;
padding-bottom: 32vw;
margin-bottom: 0;
}
.item-img {
width: 180px;
Expand All @@ -362,6 +363,7 @@
.rating-img {
width: 20px;
}

}

@media (max-width: 520px) {
Expand Down

0 comments on commit 2a43d02

Please sign in to comment.