Apply suggestions from code review

Co-authored-by: Richard Schreiber <schreiber@rami.io>
This commit is contained in:
Raphael Michel
2025-11-10 15:35:44 +01:00
committed by GitHub
parent 2210e49c8c
commit eb10134e1f
2 changed files with 2 additions and 5 deletions

View File

@@ -126,7 +126,7 @@
<h{{ headline_level|default:3|add:2 }} class="h5" id="{{ form_prefix }}item-{{ item.pk }}-{{ var.pk }}-legend">
{{ var }}
{% if cart.itemvarsums|getitem:var %}
<span class="badge badge-success">
<span class="textbubble-success">
{% icon "shopping-cart" %}
{% blocktrans trimmed count amount=cart.itemvarsums|getitem:var %}
{{ amount }}× in your cart
@@ -283,7 +283,7 @@
<h{{ headline_level|default:3|add:1 }} class="h4" id="{{ form_prefix }}item-{{ item.pk }}-legend">
{{ item.name }}
{% if cart.itemvarsums|getitem:item %}
<span class="badge badge-success">
<span class="textbubble-success">
{% icon "shopping-cart" %}
{% blocktrans trimmed count amount=cart.itemvarsums|getitem:item %}
{{ amount }}× in your cart

View File

@@ -164,9 +164,6 @@ article.item-with-variations .product-row:last-child:after {
display: block;
line-height: 1;
}
h2 .badge, h3 .badge, h4 .badge, h5 .badge, h6 .badge {
vertical-align: top;
}
&.total {
border-top: 1px solid $table-border-color;