Studio: keep code block scrollbars off one-line code - #6474
Conversation
There was a problem hiding this comment.
Code Review
This pull request adds a CSS rule targeting .aui-thread-root [data-streamdown="code-block-body"] to add padding-bottom to keep overlay scrollbars below one-line code. The reviewer suggests targeting [data-streamdown="code-block"] under .aui-thread-root instead, with a padding-bottom of 1.375rem to ensure the padding is applied correctly.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| .aui-thread-root [data-streamdown="code-block-body"] { | ||
| /* Keep overlay scrollbars below one-line code. */ | ||
| padding-bottom: 0.625rem !important; | ||
| } |
There was a problem hiding this comment.
Instead of overriding the flattened [data-streamdown="code-block"] selector globally, target it under .aui-thread-root to ensure the padding-bottom is applied correctly for keeping overlay scrollbars below one-line code.
.aui-thread-root [data-streamdown="code-block"] {
/* Keep overlay scrollbars below one-line code. */
padding-bottom: 1.375rem;
}
Summary
Fixes #6469
Testing