Spaces:
Sleeping
Sleeping
Update templates/cart.html
Browse files- templates/cart.html +16 -15
templates/cart.html
CHANGED
|
@@ -47,18 +47,17 @@
|
|
| 47 |
|
| 48 |
.cart-item-actions {
|
| 49 |
display: flex;
|
| 50 |
-
flex-direction: column; /* Stack the
|
| 51 |
-
align-items: center; /* Center-align
|
| 52 |
-
justify-content: center; /* Vertically center the items
|
| 53 |
}
|
| 54 |
|
| 55 |
-
.remove-
|
| 56 |
-
border: none;
|
| 57 |
-
background:
|
| 58 |
-
|
| 59 |
-
font-size: 1.
|
| 60 |
-
|
| 61 |
-
margin-bottom: 10px; /* Add space between icon and price */
|
| 62 |
}
|
| 63 |
|
| 64 |
.text-primary {
|
|
@@ -68,6 +67,7 @@
|
|
| 68 |
|
| 69 |
|
| 70 |
|
|
|
|
| 71 |
.image-wrapper {
|
| 72 |
width: 80px; /* Width of the image container */
|
| 73 |
height: 140px !important; /* Height of the image container */
|
|
@@ -395,11 +395,12 @@
|
|
| 395 |
</div>
|
| 396 |
<div class="cart-item-actions">
|
| 397 |
<div>
|
| 398 |
-
|
| 399 |
-
|
| 400 |
-
|
| 401 |
-
|
| 402 |
-
|
|
|
|
| 403 |
</button>
|
| 404 |
</div>
|
| 405 |
<div class="text-primary" style="color: #000 !important;">
|
|
|
|
| 47 |
|
| 48 |
.cart-item-actions {
|
| 49 |
display: flex;
|
| 50 |
+
flex-direction: column; /* Stack the icon and price vertically */
|
| 51 |
+
align-items: center; /* Center-align the contents */
|
| 52 |
+
justify-content: center; /* Vertically center the items */
|
| 53 |
}
|
| 54 |
|
| 55 |
+
.remove-btn {
|
| 56 |
+
border: none; /* Remove the border around the button */
|
| 57 |
+
background-color: transparent; /* Transparent background */
|
| 58 |
+
cursor: pointer; /* Change cursor to pointer */
|
| 59 |
+
font-size: 1.5rem; /* Adjust the size of the trash icon */
|
| 60 |
+
margin-bottom: 10px; /* Add space below the delete icon */
|
|
|
|
| 61 |
}
|
| 62 |
|
| 63 |
.text-primary {
|
|
|
|
| 67 |
|
| 68 |
|
| 69 |
|
| 70 |
+
|
| 71 |
.image-wrapper {
|
| 72 |
width: 80px; /* Width of the image container */
|
| 73 |
height: 140px !important; /* Height of the image container */
|
|
|
|
| 395 |
</div>
|
| 396 |
<div class="cart-item-actions">
|
| 397 |
<div>
|
| 398 |
+
<!-- Link to Bootstrap Icons CSS -->
|
| 399 |
+
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css" rel="stylesheet">
|
| 400 |
+
|
| 401 |
+
<!-- Delete Button with Trash Icon -->
|
| 402 |
+
<button type="button" class="btn btn-light text-dark remove-btn">
|
| 403 |
+
<i class="bi bi-trash"></i>
|
| 404 |
</button>
|
| 405 |
</div>
|
| 406 |
<div class="text-primary" style="color: #000 !important;">
|