Skip to content

Commit

Permalink
fix: break all on link
Browse files Browse the repository at this point in the history
  • Loading branch information
alarv committed Dec 20, 2024
1 parent e8bd6ee commit 7610568
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/blog/(posts)/run-and-deploy-an-llm/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ Key features of our frontend implementation:
- Error handling and recovery

After doing all this we end up with a UI looking like this image:

![Llama ui](/llama-ui.png)

## Deployment
Expand Down
7 changes: 6 additions & 1 deletion mdx-components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ export function useMDXComponents(components: MDXComponents): MDXComponents {
return {
a(props: any) {
return (
<Link href={props.href} isExternal size="md" className='break-all'>
<Link
href={props.href}
isExternal
size="md"
style={{ wordBreak: 'break-all' }}
>
{props.children}
</Link>
);
Expand Down

0 comments on commit 7610568

Please sign in to comment.