Spaces:
Sleeping
Sleeping
Update templates/cart.html
Browse files- templates/cart.html +9 -6
templates/cart.html
CHANGED
@@ -26,12 +26,15 @@
|
|
26 |
}
|
27 |
|
28 |
.cart-item {
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
|
|
|
|
|
|
35 |
.cart-item-actions-top {
|
36 |
text-align: right; /* Aligns the trash icon to the top-right corner */
|
37 |
margin-bottom: 10px; /* Adds space between the image and the trash icon */
|
|
|
26 |
}
|
27 |
|
28 |
.cart-item {
|
29 |
+
display: flex;
|
30 |
+
align-items: flex-start;
|
31 |
+
justify-content: space-between;
|
32 |
+
border: 1px solid black; /* Border around all four sides of the cart item */
|
33 |
+
padding: 15px; /* Padding inside the border */
|
34 |
+
box-sizing: border-box; /* Ensure the border is included in the total width/height */
|
35 |
+
min-height: 100px; /* Ensure the cart item div has enough height for content */
|
36 |
+
}
|
37 |
+
|
38 |
.cart-item-actions-top {
|
39 |
text-align: right; /* Aligns the trash icon to the top-right corner */
|
40 |
margin-bottom: 10px; /* Adds space between the image and the trash icon */
|