Skip to content

Commit

Permalink
flex
Browse files Browse the repository at this point in the history
  • Loading branch information
austinhutchen committed May 3, 2024
1 parent 4890a1d commit e0740a5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .vercel/output/static/dlor/browser/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<body>
<app-root></app-root>
<script src="polyfills-FSOIGVP5.js" type="module"></script><script src="main-6SPULSED.js" type="module"></script></body>
<script src="polyfills-FSOIGVP5.js" type="module"></script><script src="main-LRD2UDFJ.js" type="module"></script></body>



Expand Down

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion src/app/store/store.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ h1 {
flex-direction: row;
list-style-type: none;
}

.shopBtn{
flex-direction: column;
align-items: center;
justify-content: space-between;
}
.storeApp {
display: flex;
flex-direction: column;
Expand Down
7 changes: 5 additions & 2 deletions src/app/store/store.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ <h2>{{currentProduct.name}}</h2>
</div>
<p>{{currentProduct.price}}</p>
<p>{{currentProduct.description}}</p>
<button (click)="addToCart(currentProduct)">Add to Cart</button>
<button (click)="purchaseProduct(currentProduct)">Purchase</button>
<div class="shopBtn">
<button (click)="addToCart(currentProduct)">Add to Cart</button>
<button (click)="purchaseProduct(currentProduct)">Purchase</button>
</div>

</div>

0 comments on commit e0740a5

Please sign in to comment.