Spaces:
Sleeping
Sleeping
Update templates/cart.html
Browse files- templates/cart.html +13 -10
templates/cart.html
CHANGED
@@ -64,20 +64,23 @@
|
|
64 |
text-align: right; /* Center-align the price */
|
65 |
white-space: nowrap; /* Prevent price text from wrapping */
|
66 |
}
|
67 |
-
/*
|
68 |
.image-wrapper {
|
69 |
width: 80px; /* Width of the image container */
|
70 |
-
height:
|
71 |
-
display: flex;
|
72 |
-
align-items:
|
73 |
-
justify-content: center;
|
74 |
}
|
|
|
|
|
75 |
.cart-item img {
|
76 |
-
width: 70px;
|
77 |
-
height: 70px;
|
78 |
-
object-fit:
|
79 |
-
border-radius: 5px;
|
80 |
-
border: 1px solid #ffcc80;
|
|
|
81 |
}
|
82 |
|
83 |
|
|
|
64 |
text-align: right; /* Center-align the price */
|
65 |
white-space: nowrap; /* Prevent price text from wrapping */
|
66 |
}
|
67 |
+
/* For the image container */
|
68 |
.image-wrapper {
|
69 |
width: 80px; /* Width of the image container */
|
70 |
+
height: 80px !important; /* Set the height of the container to match the image */
|
71 |
+
display: flex; /* Flex container for the image */
|
72 |
+
align-items: center; /* Center image vertically */
|
73 |
+
justify-content: center; /* Center image horizontally */
|
74 |
}
|
75 |
+
|
76 |
+
/* For the image */
|
77 |
.cart-item img {
|
78 |
+
width: 70px; /* Set the width to 70px */
|
79 |
+
height: 70px; /* Set the height to 70px */
|
80 |
+
object-fit: cover; /* Ensure the image covers the container without stretching */
|
81 |
+
border-radius: 5px; /* Optional: rounded corners */
|
82 |
+
border: 1px solid #ffcc80; /* Light orange border around images */
|
83 |
+
margin: 0; /* Ensure no extra space around the image */
|
84 |
}
|
85 |
|
86 |
|