From 0fe7e9d5fe9e76a2b39707f07ab0ebef0b402cf1 Mon Sep 17 00:00:00 2001 From: Thomas des Francs Date: Tue, 10 Mar 2026 20:27:34 +0100 Subject: [PATCH] small ai chat fix (#18547) Summary - capture the updated page structure in a new Playwright YAML artifact to document the small-ai-chat-fix workstream - store the generated snapshot under `.playwright-cli/page-2026-03-09T13-12-30-691Z.yml` for reference Testing - Not run (not requested) --- .../components/LazyMarkdownRendererStyledComponents.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/twenty-front/src/modules/ai/components/LazyMarkdownRendererStyledComponents.tsx b/packages/twenty-front/src/modules/ai/components/LazyMarkdownRendererStyledComponents.tsx index 8a40807ac0..3104cc0f51 100644 --- a/packages/twenty-front/src/modules/ai/components/LazyMarkdownRendererStyledComponents.tsx +++ b/packages/twenty-front/src/modules/ai/components/LazyMarkdownRendererStyledComponents.tsx @@ -29,7 +29,7 @@ export const StyledMarkdownContainer = styled.div` strong, b { - font-weight: ${themeCssVariables.font.weight.semiBold}; + font-weight: ${themeCssVariables.font.weight.medium}; } h1, @@ -108,10 +108,10 @@ export const StyledMarkdownContainer = styled.div` :not(pre) > code { background-color: ${themeCssVariables.background.tertiary}; border-radius: ${themeCssVariables.border.radius.sm}; - color: ${themeCssVariables.font.color.primary}; + color: ${themeCssVariables.color.red10}; font-family: ${themeCssVariables.code.font.family}, monospace; - font-size: 0.9em; - padding: 1.5px 3px; + font-size: 1em; + padding: ${themeCssVariables.spacing[0]} ${themeCssVariables.spacing[1]}; transition: all calc(${themeCssVariables.animation.duration.fast} * 1s) ease; }