From 973255cb0bc61c0cf50e6f562bfc632a3d6fab1c Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Thu, 2 Jan 2025 16:48:24 -0800 Subject: [PATCH] UI: fix codeblocks overflowing on mobile --- css/main.css | 1 + 1 file changed, 1 insertion(+) diff --git a/css/main.css b/css/main.css index 870f4192..564a39a1 100644 --- a/css/main.css +++ b/css/main.css @@ -540,6 +540,7 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* { .message-body pre > code { white-space: pre !important; overflow-x: auto !important; + max-width: calc(100dvw - 39px); border: 1px solid #666; border-radius: 5px; font-size: 82%;