Fix subtotal rendering on mobile (#5365)

This commit is contained in:
Raphael Michel
2025-08-12 09:39:21 +02:00
committed by GitHub
parent d8bf3d0b07
commit 39a0093c6b
2 changed files with 3 additions and 3 deletions

View File

@@ -437,7 +437,7 @@
{% if not hide_prices %} {% if not hide_prices %}
<div role="rowgroup" class="cart-rowgroup-total"> <div role="rowgroup" class="cart-rowgroup-total">
{% if event.settings.display_net_prices and cart.tax_total %} {% if event.settings.display_net_prices and cart.tax_total %}
<div role="row" class="row cart-row"> <div role="row" class="row cart-row subtotal">
<div role="cell" class="product"> <div role="cell" class="product">
<strong>{% trans "Net total" %}</strong> <strong>{% trans "Net total" %}</strong>
</div> </div>
@@ -448,7 +448,7 @@
</div> </div>
<div class="clearfix"></div> <div class="clearfix"></div>
</div> </div>
<div role="row" class="row cart-row"> <div role="row" class="row cart-row subtotal">
<div role="cell" class="product"> <div role="cell" class="product">
<strong>{% trans "Taxes" %}</strong> <strong>{% trans "Taxes" %}</strong>
</div> </div>

View File

@@ -221,7 +221,7 @@
&.has-downloads.hide-prices .download-desktop { &.has-downloads.hide-prices .download-desktop {
margin-left: 50%; margin-left: 50%;
} }
&.total .product { &.subtotal .product, &.total .product {
width: 50%; width: 50%;
} }
.count { .count {