nagasurendra commited on
Commit
965802c
·
verified ·
1 Parent(s): 2c30573

Update templates/cart.html

Browse files
Files changed (1) hide show
  1. templates/cart.html +2 -2
templates/cart.html CHANGED
@@ -39,7 +39,7 @@
39
 
40
  .image-wrapper {
41
  width: 80px; /* Width of the image container */
42
- height: 140px; /* Height of the image container */
43
  display: flex; /* Flex container for image */
44
  align-items: flex-start; /* Align the image at the top */
45
  justify-content: center; /* Center image horizontally if it has space */
@@ -47,7 +47,7 @@
47
 
48
  .cart-item img {
49
  width: 100%; /* Fill the image container */
50
- height: auto; /* Maintain aspect ratio */
51
  object-fit: contain; /* Ensure the full image is visible */
52
  border-radius: 8px; /* Optional: rounded corners */
53
  transition: transform 0.3s;
 
39
 
40
  .image-wrapper {
41
  width: 80px; /* Width of the image container */
42
+ height: 140px !important; /* Height of the image container */
43
  display: flex; /* Flex container for image */
44
  align-items: flex-start; /* Align the image at the top */
45
  justify-content: center; /* Center image horizontally if it has space */
 
47
 
48
  .cart-item img {
49
  width: 100%; /* Fill the image container */
50
+ height: auto !important; /* Maintain aspect ratio */
51
  object-fit: contain; /* Ensure the full image is visible */
52
  border-radius: 8px; /* Optional: rounded corners */
53
  transition: transform 0.3s;