Spaces:
Sleeping
Sleeping
Update templates/cart.html
Browse files- templates/cart.html +10 -7
templates/cart.html
CHANGED
|
@@ -35,14 +35,17 @@
|
|
| 35 |
min-height: 100px;
|
| 36 |
position: relative; /* Make the cart item a reference for the absolute positioning of the remove icon */
|
| 37 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
-
|
| 40 |
-
border: none;
|
| 41 |
-
background: none;
|
| 42 |
-
color: red;
|
| 43 |
-
font-size: 1.2rem;
|
| 44 |
-
cursor: pointer;
|
| 45 |
-
}
|
| 46 |
|
| 47 |
|
| 48 |
|
|
|
|
| 35 |
min-height: 100px;
|
| 36 |
position: relative; /* Make the cart item a reference for the absolute positioning of the remove icon */
|
| 37 |
}
|
| 38 |
+
.remove-icon {
|
| 39 |
+
border: none;
|
| 40 |
+
background: none;
|
| 41 |
+
color: red;
|
| 42 |
+
font-size: 1.2rem;
|
| 43 |
+
cursor: pointer;
|
| 44 |
+
position: relative;
|
| 45 |
+
top: -5px; /* Moves the icon 5px above its current position */
|
| 46 |
+
}
|
| 47 |
|
| 48 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
|
| 50 |
|
| 51 |
|