nagasurendra commited on
Commit
5383c0e
·
verified ·
1 Parent(s): f1e3783

Update templates/cart.html

Browse files
Files changed (1) hide show
  1. templates/cart.html +2 -2
templates/cart.html CHANGED
@@ -35,13 +35,13 @@
35
  padding: 15px 0;
36
  }
37
  .cart-item img {
38
- width: 100px; /* Adjust the width automatically */
39
  height: 100px; /* Increased height */
40
  object-fit: contain; /* Ensures the whole image is visible */
41
  border-radius: 8px;
42
  transition: transform 0.3s;
43
  margin-bottom: 10px;
44
- vertical-align: top; /* Align image to the top */
45
  }
46
 
47
  .cart-item img:hover {
 
35
  padding: 15px 0;
36
  }
37
  .cart-item img {
38
+ width: 80px; /* Adjust the width automatically */
39
  height: 100px; /* Increased height */
40
  object-fit: contain; /* Ensures the whole image is visible */
41
  border-radius: 8px;
42
  transition: transform 0.3s;
43
  margin-bottom: 10px;
44
+ margin-top: 0; /* Ensure no extra space at the top */
45
  }
46
 
47
  .cart-item img:hover {