diff --git a/src/features/staking/components/staking-overview.tsx b/src/features/staking/components/staking-overview.tsx index 235d9e9..98ad423 100644 --- a/src/features/staking/components/staking-overview.tsx +++ b/src/features/staking/components/staking-overview.tsx @@ -27,10 +27,21 @@ import { formatToSmallDisplay, formatXionToUSD, } from "../lib/formatters"; -import { DivisorVertical } from "./divisor"; +import { DivisorHorizontal, DivisorVertical } from "./divisor"; -const divisorStyle = "absolute bottom-[24px] right-[-8px] top-[24px]"; -const columnStyle = "relative flex h-full flex-col items-start gap-3 p-[24px]"; +const columnStyle = + "relative flex w-full h-full flex-col items-start gap-3 p-[24px]"; + +const Divisor = () => ( + <> +
+ +
+
+ +
+ +); const StakingOverview = () => { const { isConnected } = useAbstraxionAccount(); @@ -75,9 +86,10 @@ const StakingOverview = () => { return (
{ )}
{formatXionToUSD(totalRewards)} -
- -
+
APR {formatAPR(apr)} -
- -
+
Delegated Amount (XION) @@ -129,9 +137,7 @@ const StakingOverview = () => { )} {formatXionToUSD(totalDelegation)} -
- -
+
Available For Delegation (XION)