Skip to content

Commit

Permalink
cross chain staking button style update
Browse files Browse the repository at this point in the history
  • Loading branch information
poocart committed Oct 14, 2023
1 parent 4c374ee commit 14bac76
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
14 changes: 6 additions & 8 deletions app/components/views/Stake/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -414,16 +414,14 @@ export const Stake = (props: Props) => {
<FiberNewRoundedIcon className="new-releases-icon" />
<Trans id="stake.lifi">
Cross-chain staking is now available through{" "}
<Anchor
onClick={(e) => {
e.stopPropagation();
setShowEtherspotBuidler(true);
}}
>
LI.FI and Etherspot
</Anchor>, with
<Anchor>LI.FI and Etherspot</Anchor>, with
support for multiple chains and tokens.
</Trans>
<ButtonPrimary
className={styles.etherspotSwitchButton}
label={<Trans id="stake.switch_to_etherspot">Stake cross-chain</Trans>}
onClick={() => setShowEtherspotBuidler(true)}
/>
</Text>
</div>

Expand Down
5 changes: 5 additions & 0 deletions app/components/views/Stake/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,3 +260,8 @@ export const toggle_form_type = css`
opacity: 0.5;
}
`;

export const etherspotSwitchButton = css`
margin-top: 10px;
`;

0 comments on commit 14bac76

Please sign in to comment.