Skip to content

Fix Agents window tab spacing with left-aligned actions - #327903

Open
hawkticehurst with Copilot wants to merge 7 commits into
mainfrom
copilot/fix-tabs-padding-in-agents-sidebar
Open

Fix Agents window tab spacing with left-aligned actions#327903
hawkticehurst with Copilot wants to merge 7 commits into
mainfrom
copilot/fix-tabs-padding-in-agents-sidebar

Conversation

Copilot AI commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Fixes #327898

Agents window editor tabs lost trailing padding when tab actions were placed on the left.

  • Changes
    • Mirror the modern editor-tab spacing rule for left-aligned actions.
    • Preserve trailing spacing while excluding compact sticky tabs.
    • Document the layout behavior.
ui-diff-20260728-172957

Co-authored-by: hawkticehurst <39639992+hawkticehurst@users.noreply.github.com>

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

Fixes trailing tab spacing in the Agents window when actions are left-aligned.

Changes:

  • Adds trailing padding for left-aligned tab actions.
  • Excludes compact sticky tabs.
  • Documents the layout behavior.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/vs/sessions/LAYOUT.md Documents tab spacing behavior.
src/vs/sessions/contrib/editor/browser/media/editorTabs.css Adds left-action tab spacing.

Comment thread src/vs/sessions/contrib/editor/browser/media/editorTabs.css Outdated
@github-actions

github-actions Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: 179db2cb Current: 714eedc4

Changed (6)

agentsVoice/voiceModeOnboarding/Voice Mode onboarding (panel)/Dark
Before After
before after
agentsVoice/voiceModeOnboarding/Voice Mode onboarding (panel)/Light
Before After
before after
agentsVoice/voiceModeOnboarding/Voice Mode onboarding (wide)/Dark
Before After
before after
agentsVoice/voiceModeOnboarding/Voice Mode onboarding (wide)/Light
Before After
before after
agentsVoice/voiceModeOnboarding/Voice Mode onboarding (narrow)/Dark
Before After
before after
agentsVoice/voiceModeOnboarding/Voice Mode onboarding (narrow)/Light
Before After
before after

1 insignificant change(s) omitted (≤20 px, Δ≤2). See CI logs for details.

@dmitrivMS

Copy link
Copy Markdown
Contributor

@hawkticehurst Compile errors...

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.

Agents window tabs have incorrect spacing when close action is left aligned

5 participants