mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-08-04 09:37:42 +00:00
fix(wallet-transactions): improve badge text color for transaction types (mobile)
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 8m44s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 8m44s
This commit is contained in:
@ -214,11 +214,11 @@ function MobileTransactionDetails({ trx }: { trx: WalletTransaction }) {
|
|||||||
</div>
|
</div>
|
||||||
<span className="font-semibold pr-2">
|
<span className="font-semibold pr-2">
|
||||||
{trx.transaction_type === "TOPUP" ? (
|
{trx.transaction_type === "TOPUP" ? (
|
||||||
<Badge className="bg-green-100 dark:bg-green-700">
|
<Badge className="bg-green-100 text-green-950 dark:bg-green-700">
|
||||||
{trx.transaction_type}
|
{trx.transaction_type}
|
||||||
</Badge>
|
</Badge>
|
||||||
) : (
|
) : (
|
||||||
<Badge className="bg-red-500 dark:bg-red-700">
|
<Badge className="bg-red-500 text-red-950 dark:bg-red-700">
|
||||||
{trx.transaction_type}
|
{trx.transaction_type}
|
||||||
</Badge>
|
</Badge>
|
||||||
)}
|
)}
|
||||||
|
Reference in New Issue
Block a user