summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/invoice/components/Invoice.jsx2
-rw-r--r--src/lib/product/components/ProductCard.jsx4
-rw-r--r--src/lib/transaction/components/Transaction.jsx2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/invoice/components/Invoice.jsx b/src/lib/invoice/components/Invoice.jsx
index 1094e2e4..7559779b 100644
--- a/src/lib/invoice/components/Invoice.jsx
+++ b/src/lib/invoice/components/Invoice.jsx
@@ -200,7 +200,7 @@ const Invoice = ({ id }) => {
product?.parent.name,
product?.parent.id
)}
- className='w-[30%] flex-shrink-0'
+ className='w-[25%] flex-shrink-0'
>
<Image
src={product?.parent?.image}
diff --git a/src/lib/product/components/ProductCard.jsx b/src/lib/product/components/ProductCard.jsx
index f85a0b03..a1c30d00 100644
--- a/src/lib/product/components/ProductCard.jsx
+++ b/src/lib/product/components/ProductCard.jsx
@@ -39,8 +39,8 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
)}
<Link
href={createSlug('/shop/product/', product?.name, product?.id)}
- className={`font-normal mb-2 !text-gray_r-12 leading-6 ${
- simpleTitle ? 'line-clamp-2' : 'line-clamp-3'
+ className={`font-normal mb-2 !text-gray_r-12 leading-6 block ${
+ simpleTitle ? 'line-clamp-2 h-12' : 'line-clamp-3 h-[64px]'
}`}
>
{product?.name}
diff --git a/src/lib/transaction/components/Transaction.jsx b/src/lib/transaction/components/Transaction.jsx
index ad59f8dd..7dfb13fb 100644
--- a/src/lib/transaction/components/Transaction.jsx
+++ b/src/lib/transaction/components/Transaction.jsx
@@ -368,7 +368,7 @@ const Transaction = ({ id }) => {
product?.parent.name,
product?.parent.id
)}
- className='w-[30%] flex-shrink-0'
+ className='w-[25%] flex-shrink-0'
>
<Image
src={product?.parent?.image}