Skip to content

Commit

Permalink
fix(core): use correct font styles for Grand Total (#669)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgemoya committed Mar 19, 2024
1 parent 6806299 commit b657f6c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/polite-items-burn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bigcommerce/catalyst-core": patch
---

Use correct font weight and size for Grand Total in Cart Summary
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ export const CheckoutSummary = ({
</span>
</div>

<div className="flex justify-between border-t border-t-gray-200 py-4">
<span className="text-h5">{t('grandTotal')}</span>
<span className="text-h5">
<div className="flex justify-between border-t border-t-gray-200 py-4 text-xl font-bold lg:text-2xl">
{t('grandTotal')}
<span>
{currencyFormatter.format(
checkoutSummary.amount.value +
checkoutSummary.shippingCostTotal.value +
Expand Down

0 comments on commit b657f6c

Please sign in to comment.