Skip to content

Fix missing leading whitespace on custom dialogs - #327547

Merged
SteVen Batten (sbatten) merged 2 commits into
mainfrom
agents/fix-leading-whitespace-custom-dialog
Jul 27, 2026
Merged

SteVen Batten (sbatten) merged 2 commits into
mainfrom
agents/fix-leading-whitespace-custom-dialog

Conversation

@sbatten

@sbatten SteVen Batten (sbatten) commented Jul 26, 2026

Copy link
Copy Markdown
Member

Don't remove leading whitespace on custom dialogs. note that macos native dialogs don't preserve the whitespace but I don't see a reason we shouldn't support this in our custom dialogs

fixes #128233

Don't remove leading whitespace on custom dialogs

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Preserves leading whitespace in custom dialog detail text.

Changes:

  • Applies white-space: pre-wrap to dialog details.
Show a summary per file
File Description
src/vs/base/browser/ui/dialog/dialog.css Preserves whitespace while retaining text wrapping.

Review details

  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Medium

Comment thread src/vs/base/browser/ui/dialog/dialog.css Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@sbatten
SteVen Batten (sbatten) merged commit 725890f into main Jul 27, 2026
29 checks passed
@sbatten
SteVen Batten (sbatten) deleted the agents/fix-leading-whitespace-custom-dialog branch July 27, 2026 10:04
@vs-code-engineering vs-code-engineering Bot added this to the 1.132.0 milestone Jul 27, 2026
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Sep 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom dialog removes leading whitespace from lines

4 participants