Spaces:
Sleeping
Sleeping
Update templates/cart.html
Browse files- templates/cart.html +2 -19
templates/cart.html
CHANGED
|
@@ -13,18 +13,7 @@
|
|
| 13 |
background-color: #f3f4f6;
|
| 14 |
color: #333;
|
| 15 |
}
|
| 16 |
-
|
| 17 |
-
max-width: 768px;
|
| 18 |
-
margin: 30px auto;
|
| 19 |
-
padding: 20px;
|
| 20 |
-
background-color: #fff;
|
| 21 |
-
border-radius: 12px;
|
| 22 |
-
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
|
| 23 |
-
transition: box-shadow 0.3s ease-in-out;
|
| 24 |
-
}
|
| 25 |
-
.cart-container:hover {
|
| 26 |
-
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
|
| 27 |
-
}
|
| 28 |
|
| 29 |
.cart-item {
|
| 30 |
display: flex;
|
|
@@ -73,13 +62,7 @@
|
|
| 73 |
}
|
| 74 |
|
| 75 |
/* Responsive for mobile devices */
|
| 76 |
-
|
| 77 |
-
.image-wrapper {
|
| 78 |
-
width: 60px; /* Adjust width for mobile */
|
| 79 |
-
height: auto !important; /* Let height adjust automatically based on content */
|
| 80 |
-
max-height: 100px; /* Set a max height to avoid image getting too large */
|
| 81 |
-
}
|
| 82 |
-
}
|
| 83 |
|
| 84 |
.cart-item img {
|
| 85 |
width: 100%; /* Fill the image container */
|
|
|
|
| 13 |
background-color: #f3f4f6;
|
| 14 |
color: #333;
|
| 15 |
}
|
| 16 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
.cart-item {
|
| 19 |
display: flex;
|
|
|
|
| 62 |
}
|
| 63 |
|
| 64 |
/* Responsive for mobile devices */
|
| 65 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
|
| 67 |
.cart-item img {
|
| 68 |
width: 100%; /* Fill the image container */
|