nagasurendra commited on
Commit
a3063c9
·
verified ·
1 Parent(s): 64b31b0

Update templates/cart.html

Browse files
Files changed (1) hide show
  1. 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: cover; /* Ensures the whole image is visible */
43
  border-radius: 8px;
44
  transition: transform 0.3s;
45
  margin-bottom: 10px;
46
- margin-top: 0; /* Ensure no extra space at the top */
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 {