Stop Tailwind scanning ref strings, colour links in the user bubble

Tailwind read ref literals like [file:12] in prompts and docs as arbitrary-property utilities and emitted invalid CSS; those files hold no className, so they are excluded from the scan. Links in the user's ink bubble get a readable blue instead of the bubble's own ink, and the bubble no longer needs its own CSS class.
This commit is contained in:
2026-10-21 19:03:24 +01:00
parent d17a4a7bdd
commit f644772944
3 changed files with 20 additions and 3 deletions
@@ -14,7 +14,7 @@ export default function UserMarkdownLink(props: ComponentProps<"a">) {
href={props.href}
target="_blank"
rel="noopener noreferrer"
className="text-on-ink underline underline-offset-2 hover:opacity-80 break-words"
className="text-blue-400 dark:text-blue-600 underline underline-offset-2 hover:opacity-80 break-words"
>
{props.children}
</Link>