Spaces:
Sleeping
Sleeping
Update templates/cart.html
Browse files- templates/cart.html +4 -4
templates/cart.html
CHANGED
|
@@ -282,7 +282,7 @@
|
|
| 282 |
align-items: center; /* Center image and text vertically */
|
| 283 |
justify-content: flex-start; /* Align items to the start (left side) */
|
| 284 |
flex-shrink: 0;
|
| 285 |
-
width:
|
| 286 |
padding: 10px;
|
| 287 |
border-radius: 8px; /* Rounded corners */
|
| 288 |
background-color: #fff;
|
|
@@ -291,7 +291,7 @@
|
|
| 291 |
margin-right: 10px; /* Ensure there's space between the cards */
|
| 292 |
position: relative; /* For positioning the + icon */
|
| 293 |
text-align: left; /* Align text to the left */
|
| 294 |
-
overflow:
|
| 295 |
}
|
| 296 |
|
| 297 |
.suggestion-item:hover {
|
|
@@ -299,8 +299,8 @@
|
|
| 299 |
}
|
| 300 |
|
| 301 |
.suggestion-item img {
|
| 302 |
-
width:
|
| 303 |
-
height:
|
| 304 |
object-fit: cover; /* Ensure image fits correctly without distortion */
|
| 305 |
border-radius: 5px; /* Rounded corners for the image */
|
| 306 |
margin-right: 12px; /* Space between the image and text */
|
|
|
|
| 282 |
align-items: center; /* Center image and text vertically */
|
| 283 |
justify-content: flex-start; /* Align items to the start (left side) */
|
| 284 |
flex-shrink: 0;
|
| 285 |
+
width: 160px; /* Set fixed width for each suggestion item */
|
| 286 |
padding: 10px;
|
| 287 |
border-radius: 8px; /* Rounded corners */
|
| 288 |
background-color: #fff;
|
|
|
|
| 291 |
margin-right: 10px; /* Ensure there's space between the cards */
|
| 292 |
position: relative; /* For positioning the + icon */
|
| 293 |
text-align: left; /* Align text to the left */
|
| 294 |
+
overflow: visible; /* Allow the button to overflow outside */
|
| 295 |
}
|
| 296 |
|
| 297 |
.suggestion-item:hover {
|
|
|
|
| 299 |
}
|
| 300 |
|
| 301 |
.suggestion-item img {
|
| 302 |
+
width: 50px; /* Set a fixed width for the image */
|
| 303 |
+
height: 50px; /* Set a fixed height for the image */
|
| 304 |
object-fit: cover; /* Ensure image fits correctly without distortion */
|
| 305 |
border-radius: 5px; /* Rounded corners for the image */
|
| 306 |
margin-right: 12px; /* Space between the image and text */
|