From 08e84b7f7e12c77b74c8b6cb44cd2e58be3466b5 Mon Sep 17 00:00:00 2001 From: Wasim Yousef Said Date: Mon, 22 Jun 2026 14:04:03 +0200 Subject: [PATCH] Studio: keep code block scrollbars off one-line code (#6474) --- studio/frontend/src/index.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/studio/frontend/src/index.css b/studio/frontend/src/index.css index cf7bee70d5..a14643fefd 100644 --- a/studio/frontend/src/index.css +++ b/studio/frontend/src/index.css @@ -1684,6 +1684,11 @@ padding: 0 !important; } + .aui-thread-root [data-streamdown="code-block-body"] { + /* Keep overlay scrollbars below one-line code. */ + padding-bottom: 0.625rem !important; + } + [data-streamdown="code-block"] { gap: 0.25rem; padding: 0.75rem 1rem;