diff options
| author | Rafi Zadanly <rafizadanly@gmail.com> | 2022-12-13 18:02:44 +0700 |
|---|---|---|
| committer | Rafi Zadanly <rafizadanly@gmail.com> | 2022-12-13 18:02:44 +0700 |
| commit | c0f523bf49a160f74158fe61b6f5916fa6176322 (patch) | |
| tree | ca95b8174837a8780b4277a4a88b003400f9419e /src/components | |
| parent | 21a22d686e71d8eb470d158f93ba80e43b7b221f (diff) | |
Merapihkan tampilan
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/ProductCard.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/ProductCard.js b/src/components/ProductCard.js index 0fe47196..64624d70 100644 --- a/src/components/ProductCard.js +++ b/src/components/ProductCard.js @@ -29,13 +29,13 @@ export default function ProductCard({ data }) { </div> <div className="mt-2"> {product.lowest_price.discount_percentage > 0 ? ( - <div className="flex gap-x-1 items-center"> + <div className="flex gap-x-1 items-center mb-1"> <span className="badge-red">{product.lowest_price.discount_percentage}%</span> - <p className="text-xs text-gray-800 line-through">{currencyFormat(product.lowest_price.price)}</p> + <p className="text-xs text-gray_r-11 line-through">{currencyFormat(product.lowest_price.price)}</p> </div> ) : ''} {product.lowest_price.price_discount > 0 ? ( - <p className="text-sm text-gray-900 font-semibold"> + <p className="text-caption text-gray_r-12 font-bold"> {currencyFormat(product.lowest_price.price_discount)} </p> ) : ( |
