Skip to content
Snippets Groups Projects
Commit 37744b77 authored by Dima Rifai's avatar Dima Rifai
Browse files

Fix Button

parent 527d9c5e
No related branches found
No related tags found
1 merge request!507Delrifai/#394 2 add charts to balance history
......@@ -165,7 +165,7 @@ const AccountBalanceHistoryCard: React.FC<AccountBalanceHistoryCardProps> = ({
return (
<Card data-testid="properties-dropdown" className="overflow-hidden pb-0">
<CardHeader className="p-0">
<CardHeader className="p-0 mb-2">
<div
onClick={handleBalancesVisibility}
className="flex justify-between items-center p-2 hover:bg-rowHover cursor-pointer px-4"
......@@ -176,7 +176,14 @@ const AccountBalanceHistoryCard: React.FC<AccountBalanceHistoryCardProps> = ({
<span>{isBalancesHidden ? <ArrowDown /> : <ArrowUp />}</span>
</div>
<div className="flex justify-end items-end w-full">
<button
onClick={handleButtonClick}
className="bg-explorer-orange text-explorer-gray-light dark:explorer-gray-dark rounded p-2 mr-4"
>
Full Chart
</button>
</div>
</CardHeader>
<CardContent
......@@ -202,17 +209,9 @@ const AccountBalanceHistoryCard: React.FC<AccountBalanceHistoryCardProps> = ({
vestsBalanceHistoryData={reversedVestsBalanceHistory}
hbdBalanceHistoryData={reversedHbdBalanceHistory}
quickView={true}
className="h-[340px]"
className="h-[320px]"
/>
)}
<div className="flex">
<button
onClick={handleButtonClick}
className="bg-explorer-orange text-explorer-gray-light dark:explorer-gray-dark rounded p-2 ml-4"
>
Full Chart
</button>
</div>
</CardContent>
</Card>
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment