Skip to content

Fix + icon centering in chat input toolbar (#326207)#326210

Open
adityajha77 wants to merge 1 commit into
microsoft:mainfrom
adityajha77:fix-chat-plus-icon-centering-326207
Open

Fix + icon centering in chat input toolbar (#326207)#326210
adityajha77 wants to merge 1 commit into
microsoft:mainfrom
adityajha77:fix-chat-plus-icon-centering-326207

Conversation

@adityajha77

Copy link
Copy Markdown

Fixes #326207

This PR corrects a minor visual alignment issue where the + glyph (codicon-add) inside the chat input toolbar button appeared off-center.

Since font metrics for the + glyph can cause it to misalign inside flex-centered containers, this fix adds an optical alignment nudge (translateX(-0.5px) translateY(0.5px)) to the icon's pseudo-element. This centers the icon perfectly both horizontally and vertically within the button boundary.

Changes:

  • Added optical centering transform to .codicon-add::before inside the .chat-input-toolbar in chat.css.
Copilot AI review requested due to automatic review settings July 16, 2026 19:35

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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants