Skip to content

Editor - resource label should use test-overflow#324819

Open
lszomoru wants to merge 1 commit into
mainfrom
lszomoru/vocal-buzzard
Open

Editor - resource label should use test-overflow#324819
lszomoru wants to merge 1 commit into
mainfrom
lszomoru/vocal-buzzard

Conversation

@lszomoru

@lszomoru lszomoru commented Jul 7, 2026

Copy link
Copy Markdown
Member

Fixes #324597

Copilot AI review requested due to automatic review settings July 7, 2026 19:13
@lszomoru lszomoru enabled auto-merge (squash) July 7, 2026 19:13
@lszomoru lszomoru self-assigned this Jul 7, 2026

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

This PR fixes a UI bug (issue #324597) in the multi-diff editor header where the file-change status indicator overlapped the file name. It corrects the resource-label overflow handling and hides the status marker when there is no meaningful change flag to display.

Changes:

  • Moved min-width: 0 and text-overflow: ellipsis from .title.original to the shared .title selector and added overflow: hidden, enabling proper ellipsis truncation for both the primary and secondary paths.
  • Added a rule to hide the .status element when it has no added/deleted/renamed class, removing the empty marker (and its horizontal margin) that overlapped the file name.
Show a summary per file
File Description
src/vs/editor/browser/widget/multiDiffEditor/style.css Consolidates overflow/ellipsis styling on .title and hides the empty status marker to prevent it overlapping the file name.

Review details

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

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.

Icons overlap with file name

3 participants