Skip to content

Commit

Permalink
Update mobile-phones-store-script
Browse files Browse the repository at this point in the history
  • Loading branch information
csathnere authored Jun 10, 2024
1 parent 9b8dfa3 commit e15ac09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/mobile-phones-store-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function createMobileCard(mobile) {
<style>
.products div{font-size:14px}.products img:hover{transform:scale(1.1)}.products{font-size:medium;display:flex;flex-direction:column;align-items:center}.rating{background-color:green;width:fit-content;padding:0 16px;border-radius:5px;color:#fff}.products .product_Img{height:150px}.products img{padding:1px;width:100%;height:100%;object-fit:contain}
</style>
<a class="btn col-lg-2 col-md-3 col-sm-4 col-6 p-2" href="../addtokart/?query=${mobile.name}">
<a class="btn col-lg-2 col-md-2 col-sm-4 col-6 p-2" href="../addtokart/?query=${mobile.name}">
<div class="products">
<div class="text-center product_Img img-fluid">
<img src="../json-api/product-img/${mobile.productImg}" alt="${mobile.id}">
Expand Down

0 comments on commit e15ac09

Please sign in to comment.