From 749406c30671b0cbe62ef75390fbe52700d22ab5 Mon Sep 17 00:00:00 2001 From: Valerian Saliou Date: Fri, 2 Aug 2024 22:36:10 +0200 Subject: [PATCH] fix: make code blocks more discrete --- src/messaging/components/message/message.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/messaging/components/message/message.css b/src/messaging/components/message/message.css index 43a3cd8..fb35922 100644 --- a/src/messaging/components/message/message.css +++ b/src/messaging/components/message/message.css @@ -343,6 +343,12 @@ border-radius: 4px; } +.message-text-inner pre { + width: fit-content; + min-width: 40%; + max-width: 100%; +} + .message-text-inner pre code { color: var(--color-code-text); background-color: var(--color-code-background);