Skip to content

Fix 2px double border above account panel content in Agents window#318649

Merged
benibenj merged 1 commit into
mainfrom
copilot/fix-double-px-border
May 28, 2026
Merged

Fix 2px double border above account panel content in Agents window#318649
benibenj merged 1 commit into
mainfrom
copilot/fix-double-px-border

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 27, 2026

Screenshot 2026-05-27 at 4 40 43 PM

The top border above the plan title (e.g. "Copilot Enterprise") in the Agents window account/profile panel renders as 2px instead of 1px.

  • Cause: .sessions-account-titlebar-panel-header and its sibling .sessions-account-titlebar-panel-content each contribute a 1px separator — border-bottom on the header and border-top on the content — stacking into a visible 2px line.
  • Fix: drop the redundant border-top from .sessions-account-titlebar-panel-content; the header's border-bottom already supplies the separator.

Co-authored-by: eli-w-king <201316543+eli-w-king@users.noreply.github.com>
Copilot AI requested review from Copilot and removed request for Copilot May 27, 2026 23:33
Copilot AI requested a review from eli-w-king May 27, 2026 23:33
@eli-w-king eli-w-king requested review from benibenj and mrleemurray and removed request for eli-w-king May 27, 2026 23:41
@eli-w-king eli-w-king marked this pull request as ready for review May 27, 2026 23:42
Copilot AI review requested due to automatic review settings May 27, 2026 23:42
Copy link
Copy Markdown
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 targets a visual glitch in the Agents window account/profile hover panel where the separator line above the subscription/dashboard content renders at 2px due to stacked adjacent borders.

Changes:

  • Removes the border-top from .sessions-account-titlebar-panel-content to prevent a double-thickness separator when it follows the header directly.
Show a summary per file
File Description
src/vs/sessions/contrib/accountMenu/browser/media/accountTitleBarWidget.css Adjusts panel separator styling to avoid a double border in the account hover panel.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment on lines 223 to 227
.agent-sessions-workbench .sessions-account-titlebar-panel-content {
display: flex;
flex-direction: column;
min-height: 0;
border-top: 1px solid var(--vscode-menu-separatorBackground, var(--vscode-disabledForeground));
}
@benibenj benibenj merged commit d8aa32d into main May 28, 2026
26 checks passed
@benibenj benibenj deleted the copilot/fix-double-px-border branch May 28, 2026 12:59
@vs-code-engineering vs-code-engineering Bot added this to the 1.123.0 milestone May 28, 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.

5 participants