-
Notifications
You must be signed in to change notification settings - Fork 36.5k
fix: file-found Badge vertical (#235159) #238757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this 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 fixes a vertical alignment issue with badges in the file explorer (issue #235159). The changes ensure that count badges and icon labels are vertically centered by converting their display properties to flexbox with center alignment.
Key Changes:
- Updated badge display from
inline-blocktoinline-flexwith vertical centering - Applied flexbox vertical centering to icon label containers
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/vs/workbench/contrib/files/browser/media/explorerviewlet.css | Changed badge display to inline-flex with align-items: center for proper vertical alignment |
| src/vs/base/browser/ui/iconLabel/iconlabel.css | Added flexbox with vertical centering to icon name container |
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: @bpaseroMatched files:
|
benvillalobos
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Outside of the requested change, this looks good!
benvillalobos
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Thanks for the benvillalobos |
|
@ohah @benvillalobos this is not a good change, it causes #273052 Revert in #273068 |
|
@bpasero |
|
sorry, I checked it, and it turns out the issue was on my end. I’ll fix it and open a PR |


fixed #235159