Remove button for cart items.

This commit is contained in:
2020-07-19 18:04:31 +02:00
parent c7653cd9f1
commit e8ee4f832c

View File

@@ -24,7 +24,16 @@
</td>
<td>38.99 NOK</td>
<td>2</td>
<td>77.99 NOK</td>
<td class="sum-and-remove">
<span>77.99 NOK</span>
<i class="icon icon--close-circle"
@click="removeFromCart(product)"
@keyup.enter="removeFromCart(product)"
role="button"
tabindex="0"
:title="'Remove product: ' + product.name"></i>
</button>
</td>
</tr>
</tbody>
</table>
@@ -134,6 +143,15 @@ table.cart-inventory {
}
}
.sum-and-remove i {
float: right;
margin-top: -1px;
font-size: var(--text-md);
color: var(--color-pink);
cursor: pointer;
}
thead tr th {
border-bottom: 2px solid rgba(255,255,255,.1);