Skip to content

Commit

Permalink
Fix font family for quick order list (#2888)
Browse files Browse the repository at this point in the history
  • Loading branch information
sofiamatulis committed Aug 3, 2023
1 parent 5d093da commit 7a6d018
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 4 additions & 2 deletions assets/quick-order-list.css
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ quick-order-list .quantity__button {
.variant-item__sold-out {
opacity: 0.7;
font-size: 1.6rem;
color: rgb(var(--color-foreground));
}

quick-order-list-remove-button {
Expand Down Expand Up @@ -598,10 +599,11 @@ quick-order-list-remove-button {
align-items: center;
}

.quick-order-list__total-items h3,
.quick-order-list__total-items span,
.totals__subtotal-value {
margin-top: 0;
margin-bottom: 0;
color: rgb(var(--color-foreground));
}

.quick-order-list__total-items p,
Expand Down Expand Up @@ -658,7 +660,7 @@ quick-order-list-remove-button {
}

.totals__subtotal-value,
.quick-order-list__total-items h3 {
.quick-order-list__total-items span {
margin-right: 1.2rem;
}

Expand Down
8 changes: 4 additions & 4 deletions sections/quick-order-list.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@
</span>
</div>
<div class="quick-order-list__total-items">
<h3>
<span>
{{ items_in_cart }}
</h3>
</span>
<p class="h5">{{ 'sections.quick_order_list.total_items' | t }}</p>
</div>
<div class="quick-order-list-total__price">
Expand All @@ -172,12 +172,12 @@
</button>
</noscript>
<div class="totals__product-total">
<h3 class="totals__subtotal-value">
<span class="totals__subtotal-value">
{% comment %} TODO: enable theme-check once `line_items_for` is accepted as valid filter {% endcomment %}
{% # theme-check-disable %}
{{ cart | line_items_for: product | sum: 'original_line_price' | money }}
{% # theme-check-enable %}
</h3>
</span>
<p class="totals__subtotal h5">{{ 'sections.quick_order_list.product_total' | t }}</p>
</div>
<small class="tax-note caption-large rte">
Expand Down
2 changes: 1 addition & 1 deletion snippets/quick-order-list-row.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
</button>
{%- endif -%}
{%- if variant.available == false or quantity_rule_soldout -%}
<span class="variant-item__sold-out h4"> {{ 'products.product.sold_out' | t }} </span>
<span class="variant-item__sold-out"> {{ 'products.product.sold_out' | t }} </span>
{%- else -%}
{% comment %} TODO: Remove theme check {% endcomment %}
{% # theme-check-disable %}
Expand Down

0 comments on commit 7a6d018

Please sign in to comment.