nagasurendra commited on
Commit
69fe079
·
verified ·
1 Parent(s): 12efbef

Update templates/cart.html

Browse files
Files changed (1) hide show
  1. templates/cart.html +8 -17
templates/cart.html CHANGED
@@ -72,24 +72,15 @@
72
  align-items: flex-start; /* Align the image at the top */
73
  justify-content: center; /* Center image horizontally if it has space */
74
  }
 
 
 
 
 
 
 
75
 
76
- /* Responsive for mobile devices */
77
- .cart-item img {
78
- width: 70px;
79
- height: 70px;
80
- object-fit: cover;
81
- border-radius: 5px;
82
- border: 1px solid #ffcc80; /* Light orange border around images */
83
- }
84
-
85
- .cart-item img {
86
- width: 100%; /* Fill the image container */
87
- height: 100px !important; /* Maintain aspect ratio */
88
- object-fit: contain;
89
- border-radius: 8px; /* Optional: rounded corners */
90
- transition: transform 0.3s;/* Ensure the full image is visible */
91
-
92
- }
93
  .cart-item img:hover {
94
  transform: scale(1.05);
95
  }
 
72
  align-items: flex-start; /* Align the image at the top */
73
  justify-content: center; /* Center image horizontally if it has space */
74
  }
75
+ .cart-item img {
76
+ width: 70px; /* Set the width to 70px */
77
+ height: 70px; /* Set the height to 70px */
78
+ object-fit: contain; /* Ensure the whole image is visible */
79
+ border-radius: 5px; /* Optional: rounded corners */
80
+ border: 1px solid #ffcc80; /* Light orange border around images */
81
+ }
82
 
83
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
  .cart-item img:hover {
85
  transform: scale(1.05);
86
  }