summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafi Zadanly <rafizadanly@gmail.com>2022-12-17 10:22:10 +0700
committerRafi Zadanly <rafizadanly@gmail.com>2022-12-17 10:22:10 +0700
commit3233a8e8511759af4b79776af60a8ebac12b6b5e (patch)
treea486840d3b2bd97eb05bf7a73e7b0144236e5cf9
parentc31bd648ebe0445f067a282e6071938cb90d6459 (diff)
cart font size
-rw-r--r--src/pages/shop/cart.js6
-rw-r--r--src/styles/globals.css2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/pages/shop/cart.js b/src/pages/shop/cart.js
index fe31e7c9..64847de9 100644
--- a/src/pages/shop/cart.js
+++ b/src/pages/shop/cart.js
@@ -185,12 +185,12 @@ export default function Cart() {
<Link href={'/shop/product/' + createSlug(product.parent.name, product.parent.id)} className="product-card__title wrap-line-ellipsis-2">
{product.parent.name}
</Link>
- <p className="text-caption-1 text-gray_r-11 mt-1">
+ <p className="text-caption-2 text-gray_r-11 mt-1">
{product.code || '-'}
{product.attributes.length > 0 ? ` | ${product.attributes.join(', ')}` : ''}
</p>
<div className="flex flex-wrap gap-x-1 items-center mb-2 mt-auto">
- <p className="text-caption-1 text-gray_r-12">{currencyFormat(product.price.price_discount)}</p>
+ <p className="text-caption-2 text-gray_r-12">{currencyFormat(product.price.price_discount)}</p>
{product.price.discount_percentage > 0 ? (
<>
<span className="badge-red">{product.price.discount_percentage}%</span>
@@ -200,7 +200,7 @@ export default function Cart() {
</div>
<div className="flex items-center">
- <p className="mr-auto text-caption-1 text-gray_r-12 font-bold">{currencyFormat(product.quantity * product.price.price_discount)}</p>
+ <p className="mr-auto text-caption-2 text-gray_r-12 font-bold">{currencyFormat(product.quantity * product.price.price_discount)}</p>
<div className="flex gap-x-2 items-center">
<button
className="btn-red p-2 rounded"
diff --git a/src/styles/globals.css b/src/styles/globals.css
index f671b229..8e97e105 100644
--- a/src/styles/globals.css
+++ b/src/styles/globals.css
@@ -269,7 +269,7 @@ html, body {
@apply
px-4
py-3
- bg-white/80
+ bg-white/90
backdrop-blur-lg
border-b
border-gray-300