From b5a9e0cbe1283b2b349955326572d3aec9828c32 Mon Sep 17 00:00:00 2001 From: Jicheng Lu Date: Thu, 17 Sep 2026 15:22:08 -0500 Subject: [PATCH] fix log block styles --- src/lib/styles/pages/_chat.scss | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/lib/styles/pages/_chat.scss b/src/lib/styles/pages/_chat.scss index eeb10f91..efd95f2c 100644 --- a/src/lib/styles/pages/_chat.scss +++ b/src/lib/styles/pages/_chat.scss @@ -3745,6 +3745,19 @@ display: none; } + /* CollapsibleText lays its viewport out as a flex column that shrink-wraps + its child, which is what gives a chat bubble its width. A log row is not + a bubble: it is a full-width block, so without this the rendered markdown + — and any code block inside it — was sized to the longest line of text + rather than to the row, leaving a JSON dump squeezed into a fraction of + the available width. */ + & .ctxt, + & .ctxt-view, + & .ctxt-content { + width: 100%; + } + + & pre { scrollbar-width: none; background: