Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 26, 2026

The "Additional Views" ellipsis button in narrow composite bar panels renders at 20x20px instead of 22x22px on hover, inconsistent with other action items.

Root cause: paneCompositePart.css applies padding: 2px to all composite bar action labels, while base action-bar uses padding: 3px (16px icon + 3px×2 = 22px).

Change: Add padding: 3px specifically to .action-label.codicon-more to match expected sizing.

.monaco-workbench .pane-composite-part ... .action-label.codicon-more {
    padding: 3px; /* match base action-bar styling for 22x22px size */
}
Original prompt

This section details on the original issue you should resolve

<issue_title>Additional actions bar item renders differently to other items on hover</issue_title>
<issue_description>When the chat panel has a thinner width, the CHAT label converts to an icon button with an ellipsis. On hover, this button renders differently:

  • 20 x 20px size instead of 22 x 22px
  • 0px border radius instead of 5px

Screenshot:

Image

UX/Design Issue:
This issue is related to user interface, design, or user experience.

Environment Information:

  • VS Code Version: 1.106.0
  • OS: macOS (arm64)
  • Workspace: 0 folder(s) open

This issue was filed using the Issue Filer extension</issue_description>

Comments on the Issue (you are @copilot in this section)

@justschen looks like that aux bar has a deliberate `border-radius` of 0.

.monaco-workbench .part.auxiliarybar > .title > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item .action-label,
.monaco-workbench .part.auxiliarybar > .header-or-footer > .composite-bar-container > .composite-bar > .monaco-action-bar .action-item .action-label {
border-radius: 0px;
outline-offset: 2px;
}

cc. @benibenj on if we can change this? not sure where else this auxiliaryBarPart is used</comment_new>
<comment_new>@bpasero
So the original PR from @benibenj is #207261 (to fix #197648) and talks about high contrast themes, but then in the CSS changes they do not seem to be narrowed down to HC only 🤔

I would suggest to wait for Ben to be back and comment, but we should fix.</comment_new>
<comment_new>@benibenj
This is what it is used for. We do not want to have rounded corners in this case:

Image

Narrowing down to HC might work. How do you do that with CSS only @bpasero?

@bpasero @benibenj you prefix with the related HC theme keys, example:

.hc-black .monaco-select-box-dropdown-padding,
.hc-light .monaco-select-box-dropdown-padding {
--dropdown-padding-top: 3px;
--dropdown-padding-bottom: 4px;
}
</comment_new>
<comment_new>@zhichli
✅ (fixed) 0px border radius instead of 5px
❌ (pending) 20 x 20px size instead of 22 x 22px
Looking at the screenshot below:
Image</comment_new>
<comment_new>@mrleemurray
Reopening as the size is still 20 x 20</comment_new>


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: benibenj <44439583+benibenj@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix hover styles for additional actions bar item Fix additional actions bar item hover size (20x20 → 22x22) Jan 26, 2026
Copilot AI requested a review from benibenj January 26, 2026 17:07
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.

Additional actions bar item renders differently to other items on hover style: activiy icon size is weird

2 participants