Skip to content

Commit

Permalink
fix: restore link to launch icon
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschreiber committed Nov 30, 2023
1 parent 8aab6f5 commit 1152a85
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions src/tool/components/ToolCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,20 @@ const ToolIconAndLink = ({ tool, title, external }) => {
<React.Fragment>
<LinkComponent href={toolUrl}>{toolIcon}</LinkComponent>
<p>
<LinkComponent href={toolUrl}>{toolText}</LinkComponent>
{external && (
<LaunchIcon
sx={{
paddingLeft: 1,
height: '1.2rem',
width: '1.2rem',
verticalAlign: 'bottom',
color: theme.palette.link,
}}
/>
)}
<LinkComponent href={toolUrl}>
{toolText}
{external && (
<LaunchIcon
sx={{
paddingLeft: 1,
height: '1.2rem',
width: '1.2rem',
verticalAlign: 'bottom',
color: theme.palette.link,
}}
/>
)}
</LinkComponent>
</p>
</React.Fragment>
);
Expand Down

0 comments on commit 1152a85

Please sign in to comment.