Spaces:
Runtime error
Runtime error
Update templates/cart.html
Browse files- templates/cart.html +2 -2
templates/cart.html
CHANGED
@@ -39,11 +39,11 @@
|
|
39 |
.cart-item img {
|
40 |
width: 80px; /* Adjust the width automatically */
|
41 |
height: 100px; /* Increased height */
|
42 |
-
object-fit:
|
43 |
border-radius: 8px;
|
44 |
transition: transform 0.3s;
|
45 |
margin-bottom: 10px;
|
46 |
-
|
47 |
}
|
48 |
|
49 |
.cart-item img:hover {
|
|
|
39 |
.cart-item img {
|
40 |
width: 80px; /* Adjust the width automatically */
|
41 |
height: 100px; /* Increased height */
|
42 |
+
object-fit: contain; /* Ensures the whole image is visible */
|
43 |
border-radius: 8px;
|
44 |
transition: transform 0.3s;
|
45 |
margin-bottom: 10px;
|
46 |
+
align-self: flex-start; /* Ensure the image aligns to the top */
|
47 |
}
|
48 |
|
49 |
.cart-item img:hover {
|