better padding for reasoning when we have persistent progress#311272
Merged
better padding for reasoning when we have persistent progress#311272
Conversation
Contributor
Contributor
There was a problem hiding this comment.
Pull request overview
Adjusts the chat “thinking” UI spacing in fixed-scrolling mode when persistent progress details are shown, reducing extra vertical gap during streaming.
Changes:
- Add a
chat-thinking-persistent-streamingstate class during active streaming when persistent progress details are enabled (fixed-scrolling mode). - Remove the state class when streaming completes / titles are finalized.
- Apply CSS to remove the default bottom margin for that state, reducing extra spacing while streaming.
Show a summary per file
| File | Description |
|---|---|
| src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatThinkingContent.css | Adds a state-specific rule to remove bottom margin while persistently streaming in fixed-scrolling mode. |
| src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingContentPart.ts | Toggles the new state class on the thinking container during streaming and clears it on completion/fallback title finalization. |
Copilot's findings
- Files reviewed: 2/2 changed files
- Comments generated: 0
roblourens
approved these changes
Apr 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
removes bottom padding while streaming since thinking has a little space on the botto anyways