Skip to content

Commit

Permalink
fix(suite): fix elevation on Learn more button in EverstakeFooter
Browse files Browse the repository at this point in the history
  • Loading branch information
MiroslavProchazka authored and adamhavel committed Sep 30, 2024
1 parent 0c803d4 commit 47e5dcd
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import styled, { useTheme } from 'styled-components';
import { spacingsPx } from '@trezor/theme';
import { Translation, TrezorLink } from 'src/components/suite';
import { Translation } from 'src/components/suite';
import { EverstakeLogo } from './EverstakeLogo';
import { HELP_CENTER_ETH_STAKING } from '@trezor/urls';
import { LearnMoreButton } from 'src/components/suite/LearnMoreButton';

const Wrapper = styled.div`
display: flex;
Expand Down Expand Up @@ -32,10 +33,7 @@ export const EverstakeFooter = () => {
<Translation id="TR_STAKE_PROVIDED_BY" />{' '}
<EverstakeLogo color={isDarkMode ? '#fff' : '#000'} />
</Left>

<TrezorLink href={HELP_CENTER_ETH_STAKING} target="_blank">
<Translation id="TR_LEARN_MORE" />
</TrezorLink>
<LearnMoreButton url={HELP_CENTER_ETH_STAKING} />
</Wrapper>
);
};

0 comments on commit 47e5dcd

Please sign in to comment.