microsoft / microsoft/vscode

Selected item outline has inconsistent padding across suggestion and code action menus

Open
#336,541 1 comment 0 reactions 1 assignee Claimed by @justschen View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Image

Image

The selected item outline appears with inconsistent padding across different suggestion/action menus.

In the autocomplete suggestions, the outline is positioned directly around the selected item, with the border radius visible at the top corners.

In the Code Actions menu, the selected item has additional padding around the content, resulting in a different outline appearance.

Since both UIs use a similar selected-item treatment, the inconsistent padding and border radius make the selection styling feel visually inconsistent.

**Expected behavior**
The selected item should use consistent padding, outline positioning, and border radius across similar suggestion/action menus.

**Actual behavior**
The selected item has different padding and outline positioning depending on the menu.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.