Skip to content

Conversation

@bpasero
Copy link
Member

@bpasero bpasero commented Feb 6, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 6, 2026 09:01
@bpasero bpasero enabled auto-merge (squash) February 6, 2026 09:01
@bpasero bpasero self-assigned this Feb 6, 2026
@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Feb 6, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the visual styling of the modal editor components to improve their appearance. The changes include adjustments to shadows, spacing, sizing, and layout alignment of the modal editor header.

Changes:

  • Updated shadow styling to use themed CSS variables with smaller blur and lighter opacity
  • Increased header height from 24px to 32px for better proportions
  • Changed title alignment from centered to left-aligned with increased padding
  • Added spacing between action buttons in the header
  • Added font-weight to the title for improved visual hierarchy
Comments suppressed due to low confidence (1)

src/vs/workbench/browser/parts/editor/media/modalEditorPart.css:60

  • The comment "Title element (centered)" in modalEditorPart.ts line 68 is now outdated since the CSS changes left-align the title instead of centering it. This comment should be updated to reflect the new left-aligned layout.
	grid-column: 1;

Comment on lines +52 to +53
height: 32px;
min-height: 32px;
Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The header height is changed from 24px to 32px in CSS, but the TypeScript code in modalEditorPart.ts line 126 still has a hardcoded value of 24 for headerHeight calculation. This will cause incorrect layout calculations and the editor part will be sized incorrectly. The TypeScript code should be updated to match this new height of 32px.

Suggested change
height: 32px;
min-height: 32px;
height: 24px;
min-height: 24px;

Copilot uses AI. Check for mistakes.
@bpasero bpasero merged commit d44457c into main Feb 6, 2026
28 checks passed
@bpasero bpasero deleted the ben/content-pike branch February 6, 2026 09:24
daviddossett pushed a commit to daviddossett/vscode that referenced this pull request Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants