Fix dropdown button margin to prevent overlap #253640
Open
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
In the terminal panel, the "Launch Profile..." dropdown (chevron-down icon) partially overlaps the adjacent "+" button. This overlap is caused by the global CSS rule in
dropdown.css
:Also, in Copilot panel, the "More..." button next to the "Send and Dispatch" button uses the same CSS rule and has the same overlap.

This negative margin was introduced in cc66860 (2018) when copying styles from the Monaco editor, and later slightly adjusted in b65fc85 with the intent to improve spacing. However, the overlap in specific UI elements still exists.
Fix
This PR removes or adjusts the margin-left value only for the dropdown button, preventing visual overlap with the adjacent action button and any other button appear on the left side of dropdown button, without affecting dropdowns in other parts of the workbench.
Visual comparison
Before (current stable):
The dropdown chevron overlaps the "+" button on the right. (Or vice versa, depends on which button is highlighted)

After (this PR):
Chevron is correctly spaced; both buttons are visually distinct and aligned.

Impact
This is a purely visual/UI fix with no impact on behavior or functionality. No tests were added. It resolves a minor but long-standing visual regression in the UI.