Skip to content

Commit 28343cb

Browse files
committed
fix: Fix link color in chatbot
1 parent 49ded62 commit 28343cb

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/components/RcbMarkdown/RcbMarkdown.tsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,19 @@ const RcbMarkdown = ({ children }: { children: React.ReactNode }) => {
109109
{props.children}
110110
</blockquote>
111111
),
112+
113+
a: ({ href, children, ...props }) => (
114+
<a
115+
href={href}
116+
style={{
117+
color: '#ffffff',
118+
textDecoration: 'underline',
119+
}}
120+
{...props}
121+
>
122+
{children}
123+
</a>
124+
),
112125
}}
113126
>
114127
{markdownText}

0 commit comments

Comments
 (0)