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 committed Sep 27, 2024
1 parent f86932b commit a97bc71
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/suite/src/components/suite/LearnMoreButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const LearnMoreButton = ({
textWrap={textWrap}
variant="tertiary"
size={size}
icon="arrowUpRight"
icon="externalLink"
iconAlignment="right"
className={className}
{...buttonProps}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import styled, { useTheme } from 'styled-components';
import { spacingsPx } from '@trezor/theme';
import { Translation, TrezorLink } from 'src/components/suite';
import { ActionButton, Translation } from 'src/components/suite';
import { EverstakeLogo } from './EverstakeLogo';
import { HELP_CENTER_ETH_STAKING } from '@trezor/urls';

Expand Down Expand Up @@ -33,9 +33,12 @@ export const EverstakeFooter = () => {
<EverstakeLogo color={isDarkMode ? '#fff' : '#000'} />
</Left>

<TrezorLink href={HELP_CENTER_ETH_STAKING} target="_blank">
<ActionButton
onClick={() => window.open(HELP_CENTER_ETH_STAKING, '_blank')}
variant="tertiary"
>
<Translation id="TR_LEARN_MORE" />
</TrezorLink>
</ActionButton>
</Wrapper>
);
};

0 comments on commit a97bc71

Please sign in to comment.