Skip to content

Commit

Permalink
Open card links in new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
soerface committed Nov 17, 2024
1 parent 3d5b7b4 commit 60c13af
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/AppCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,13 @@ function AppCard({app}: { app: OIDCApplication }) {
{app.effectiveUrl ? linkedCardTitle : <span className="app-card-header">{cardTitle}</span>}
<div className="app-card-body">
<div className="text">
<Markdown>{app.description}</Markdown>
<Markdown
components={{
a: ({...props}) => <a {...props} target="_blank">
{props.children}
</a>
}}
>{app.description}</Markdown>
</div>
<div className="image">
{app.effectiveUrl ? linkedAppImg : appImg}
Expand Down

0 comments on commit 60c13af

Please sign in to comment.