From 08dd765ae8055b134e4e5406c2d793debabd3090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daphn=C3=A9=20Popin?= Date: Wed, 6 Mar 2024 17:12:17 +0100 Subject: [PATCH] Conversation citations: add right padding (#4177) * Conversation citations: add right padding * Yes this is better --- front/components/assistant/RenderMessageMarkdown.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/front/components/assistant/RenderMessageMarkdown.tsx b/front/components/assistant/RenderMessageMarkdown.tsx index 3683641d6654..1b6ba43797b3 100644 --- a/front/components/assistant/RenderMessageMarkdown.tsx +++ b/front/components/assistant/RenderMessageMarkdown.tsx @@ -310,13 +310,13 @@ function CiteBlock(props: ReactMarkdownProps) { if (refs) { return ( - <> + {refs.map((r, i) => { const document = references[r.ref]; const link = linkFromDocument(document); return ( - + ); })} - + ); } else { const { children } = props;