From 86d63380eb81ffac909ca2b3ea1c208e463f7043 Mon Sep 17 00:00:00 2001 From: ali asaria <aliasaria@users.noreply.github.com> Date: Tue, 1 Oct 2024 10:33:17 -0400 Subject: [PATCH] fix code breaking chat window --- src/renderer/styles.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/renderer/styles.css b/src/renderer/styles.css index 3a4920d2..e2aec6c5 100644 --- a/src/renderer/styles.css +++ b/src/renderer/styles.css @@ -18,6 +18,10 @@ a { filter: opacity(0.9); } +.chatBubbleContent pre { + text-wrap: wrap; +} + .chatB .hoverIcon { opacity: 0.5; transition: opacity 0.1s ease-in-out; @@ -144,3 +148,8 @@ fieldset { border: none; padding: 0; } + +.chatBubbleContent code { + display: block; + max-width: 300px; +} -- GitLab