mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-08-03 21:17:44 +00:00
fix(wallet): update styling for total debit/credit display in wallet transactions table
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 6m56s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 6m56s
This commit is contained in:
@ -70,13 +70,13 @@ export async function WalletTransactionsTable({
|
||||
) : (
|
||||
<div>
|
||||
<div className="flex gap-4 mb-4 w-full">
|
||||
<div className="bg-green-400 w-full sm:w-fit dark:bg-green-950 dark:text-green-400 text-gray-500 p-2 px-4 rounded-md mb-2">
|
||||
<div className="bg-red-400 w-full sm:w-fit dark:bg-red-950 dark:text-red-400 text-red-900 p-2 px-4 rounded-md mb-2">
|
||||
<h5 className="text-lg font-semibold">
|
||||
Total Debit
|
||||
</h5>
|
||||
<p>{totalDebit.toFixed(2)} MVR</p>
|
||||
</div>
|
||||
<div className="bg-red-400 w-full sm:w-fit dark:bg-red-950 dark:text-red-400 text-white p-2 px-4 rounded-md mb-2">
|
||||
<div className="bg-green-400 w-full sm:w-fit dark:bg-green-950 dark:text-green-400 text-green-900 p-2 px-4 rounded-md mb-2">
|
||||
<h5 className="text-lg font-semibold">
|
||||
Total Credit
|
||||
</h5>
|
||||
|
Reference in New Issue
Block a user