fix resources views
This commit is contained in:
parent
99bc7a319f
commit
6ae0673db4
BIN
database.db
BIN
database.db
Binary file not shown.
@ -7,13 +7,15 @@ const ResourceAccount = (props: { account: IResourceAccount }) => {
|
||||
return (
|
||||
<div
|
||||
className={
|
||||
resourceToBg(props.account.name) +
|
||||
" bg-gradient-to-br hover:bg-gradient-to-tr rounded-lg p-3"
|
||||
resourceToBg(props.account.resourceType) +
|
||||
" bg-gradient-to-br hover:bg-gradient-to-tr rounded-lg p-3 flex-1"
|
||||
}
|
||||
>
|
||||
<div className="text-white">
|
||||
<span className={resourceToFc(props.account.name) + " font-bold"}>
|
||||
{props.account.name}
|
||||
<span
|
||||
className={resourceToFc(props.account.resourceType) + " font-bold"}
|
||||
>
|
||||
{props.account.resourceType}
|
||||
</span>
|
||||
<h3 className="text-2xl font-bold">
|
||||
{props.account.balance.toLocaleString("en-US", {
|
||||
|
Loading…
x
Reference in New Issue
Block a user