From f011787a835b8eb2d3cf354cec4b76a8109defbc Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Wed, 1 Jan 2025 17:55:18 -0800 Subject: [PATCH] UI: make codeblocks scroll horizontally on overflow --- css/main.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/css/main.css b/css/main.css index 314b36e0..a08350ad 100644 --- a/css/main.css +++ b/css/main.css @@ -538,8 +538,8 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* { } .message-body pre > code { - white-space: pre-wrap !important; - word-wrap: break-word !important; + white-space: pre !important; + overflow-x: auto !important; border: 1px solid #666; border-radius: 5px; font-size: 82%;