Skip to content

Commit

Permalink
finalCommitt
Browse files Browse the repository at this point in the history
  • Loading branch information
Ibrahem0Salah1 committed Oct 2, 2024
1 parent 36d0989 commit b2cc339
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@

<body>
<app-root></app-root>
<script src="runtime.c7343a28b297f3f5.js" type="module"></script><script src="polyfills.da60e8257cee42be.js" type="module"></script><script src="scripts.00bd162a8e61aae5.js" defer></script><script src="main.ae048a1db06a9158.js" type="module"></script></body>
<script src="runtime.c7343a28b297f3f5.js" type="module"></script><script src="polyfills.da60e8257cee42be.js" type="module"></script><script src="scripts.00bd162a8e61aae5.js" defer></script><script src="main.8c23272c959d8555.js" type="module"></script></body>

</html>

Large diffs are not rendered by default.

11 changes: 10 additions & 1 deletion src/app/products/components/cart/cart.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,23 @@
width: 100%;
margin-left: 20px;
}
@media (max-width: 968px) {

@media (min-width:992px){
.ContainerPage{
height: 100vh;
}
}
@media (max-width: 992px) {
*{
font-size: 16px;
}
.bigBox, .bigBox2{
width: 100%;

}
.footer .container{
font-size: 14px;
}
.bigBox2{
margin-top: 20px;
}
Expand Down
7 changes: 3 additions & 4 deletions src/app/products/components/cart/cart.component.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<app-header></app-header>
<div class="bg-light">
<div class="bg-light ContainerPage">
<div class="container-fluid">
<div class="row">
<div class="col-md-10 col-11 mx-auto">
Expand Down Expand Up @@ -31,9 +31,8 @@ <h1 class="mb-4 product_name" style="color: #222d41;">{{product.title}}</h1>
</p>
<p class="mb-2" style="font-weight: 700;">Quantity: {{product.quantity}}
</p>
<p class="mb-2" style="font-weight: 700;">Quantity: {{product.quantity}}
<button class="btnView" (click)="goToProductDetails(product)">View
product</button>
<button class="btnView" (click)="goToProductDetails(product)">View
product</button>
</div>
<!-- Quantity inc/dec -->

Expand Down

0 comments on commit b2cc339

Please sign in to comment.