mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-26 06:03:19 +00:00
fix(ui): style LiteAdmin links so they read as links
Co-Authored-By: Ishaan Jaffer <155045088+ishaan-berri@users.noreply.github.com>
This commit is contained in:
parent
e27d7d98c8
commit
3e2ff2face
1 changed files with 3 additions and 1 deletions
|
|
@ -84,7 +84,9 @@ const markdownComponents: Components = {
|
|||
const markdownWithoutImages: Components = {
|
||||
...markdownComponents,
|
||||
img: ({ alt }) => <span>{alt || "Image omitted"}</span>,
|
||||
a: ({ node, ...props }) => <a {...props} target="_blank" rel="noopener noreferrer" />,
|
||||
a: ({ node, ...props }) => (
|
||||
<a {...props} target="_blank" rel="noopener noreferrer" className="text-primary underline underline-offset-4" />
|
||||
),
|
||||
};
|
||||
|
||||
interface UserBubbleProps {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue