Spaces:
Sleeping
Sleeping
Update templates/cart.html
Browse files- templates/cart.html +3 -1
templates/cart.html
CHANGED
|
@@ -309,14 +309,16 @@
|
|
| 309 |
border-radius: 0; /* Square shape */
|
| 310 |
cursor: pointer;
|
| 311 |
transition: background-color 0.3s, color 0.3s, border-color 0.3s;
|
| 312 |
-
z-index:
|
| 313 |
}
|
| 314 |
|
| 315 |
.add-back-button:hover {
|
| 316 |
background-color: #fff; /* Green background on hover */
|
| 317 |
color: #0FAA39; /* White color for the + symbol when hovered */
|
| 318 |
border-color: #0FAA39; /* Green border on hover */
|
|
|
|
| 319 |
}
|
|
|
|
| 320 |
/* Ensure the scroll container works fine */
|
| 321 |
.suggestion-items-container::-webkit-scrollbar {
|
| 322 |
height: 8px; /* Height of the scrollbar */
|
|
|
|
| 309 |
border-radius: 0; /* Square shape */
|
| 310 |
cursor: pointer;
|
| 311 |
transition: background-color 0.3s, color 0.3s, border-color 0.3s;
|
| 312 |
+
z-index: 2; /* Increased z-index to ensure it stays above the borders */
|
| 313 |
}
|
| 314 |
|
| 315 |
.add-back-button:hover {
|
| 316 |
background-color: #fff; /* Green background on hover */
|
| 317 |
color: #0FAA39; /* White color for the + symbol when hovered */
|
| 318 |
border-color: #0FAA39; /* Green border on hover */
|
| 319 |
+
z-index: 3; /* Ensure button stays on top when hovered */
|
| 320 |
}
|
| 321 |
+
|
| 322 |
/* Ensure the scroll container works fine */
|
| 323 |
.suggestion-items-container::-webkit-scrollbar {
|
| 324 |
height: 8px; /* Height of the scrollbar */
|