Fix compact search editor control spacing - #334948
Merged
Lee Murray (mrleemurray) merged 1 commit intoSep 7, 2026
Merged
Conversation
Copilot started reviewing on behalf of
Lee Murray (mrleemurray)
September 7, 2026 16:27
View session
Contributor
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: Benjamin Christopher Simmonds (@benibenj)Matched files:
|
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The focused CSS correction is consistent with the intended layout and is covered by representative visual fixtures.
Pull request overview
Restores consistent Search Editor spacing in the Agents window when compact tab density is enabled.
Changes:
- Removes the compact-density override that collapsed header padding and height.
- Adds themed Search Editor fixtures for default and compact densities.
File summaries
| File | Description |
|---|---|
src/vs/sessions/browser/parts/media/editorPart.css |
Preserves standard Search Editor header spacing in compact mode. |
src/vs/sessions/contrib/search/test/browser/searchEditor.fixture.ts |
Adds visual fixtures across density and theme variants. |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Henning Dieterichs (hediet)
approved these changes
Sep 7, 2026
Contributor
Screenshot ChangesBase: 4 insignificant change(s) omitted (≤20 px, Δ≤2). See CI logs for details. Added (6) |
Lee Murray (mrleemurray)
enabled auto-merge
September 7, 2026 17:10
Lee Murray (mrleemurray)
deleted the
mrleemurray/fix-334867-compact-search-spacing
branch
September 7, 2026 18:01
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.
Summary
Fixes #334867.
Validation
git diff --checkpass.Before
Original report with
window.density.editorTabHeightset tocompact:How to test
window.density.editorTabHeighttocompactand open the Search editor.sessions/searchEditor/{Default,Compact}/{Dark,Light,DarkHighContrast}.After
Fresh capture of the real SearchEditor compact-density fixture from this branch. The controls retain their full height with visible vertical padding before the separator.