The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix `pre` element in MessagesPanel
Steven Tey87084ab722d1
diff --git a/apps/web/ui/messages/messages-panel.tsx b/apps/web/ui/messages/messages-panel.tsxindex 3c49ad4c48..8597ef99ff 100644--- a/apps/web/ui/messages/messages-panel.tsx+++ b/apps/web/ui/messages/messages-panel.tsx@@ -233,6 +233,7 @@ export function MessagesPanel({"p","a","code",+ "pre","strong","em","ul",@@ -247,6 +248,17 @@ export function MessagesPanel({rel="noopener noreferrer"/>),+ pre: ({ node, ...props }) => (+ <pre+ {...props}+ className={cn(+ "my-1 text-wrap py-1 text-sm",+ isMySide+ ? "text-content-inverted bg-neutral-600"+ : "text-content-default bg-neutral-200",+ )}+ />+ ),}}remarkPlugins={[remarkGfm] as any}>