Skip to content

Commit

Permalink
Whitespace nowrap added to span for external links
Browse files Browse the repository at this point in the history
  • Loading branch information
ReeceHumphreys committed Dec 7, 2023
1 parent 5d5bde1 commit a6f3bbc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/nodes/app-link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ export const AppLink = ({
// eslint-disable-next-line tailwindcss/no-custom-classname
className={clsx(
isApiLink(originalHref) && apiClasses,
isExternalLink(originalHref) && showArrow && 'with-arrow'
isExternalLink(originalHref) &&
showArrow &&
'with-arrow whitespace-nowrap'
)}
>
{isApiLink(originalHref) ? <code>{children}</code> : children}
Expand Down

0 comments on commit a6f3bbc

Please sign in to comment.