Skip to content
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

Fix background rendering for menu icons #12739

Merged
merged 1 commit into from
Jul 21, 2023
Merged

Conversation

msujew
Copy link
Member

@msujew msujew commented Jul 20, 2023

What it does

Closes #12738

The icon that received a background in #12252 hasn't been sized correctly. This PR changes the size of the icon so that the background is uniform across all horizontal elements within a menu entry.

How to test

  1. Open the Run menu.
  2. Assert that the background color across all horizontal html elements appears consistent.

Review checklist

Reminder for reviewers

@msujew msujew added ui/ux issues related to user interface / user experience menus issues related to the menu labels Jul 20, 2023
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍
I can confirm that it fixes the issue for menus with icons, and there are no visible regressions.

@msujew msujew merged commit 5b69857 into master Jul 21, 2023
@msujew msujew deleted the msujew/fix-menu-icons branch July 21, 2023 12:41
@github-actions github-actions bot added this to the 1.40.0 milestone Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
menus issues related to the menu ui/ux issues related to user interface / user experience
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

UI regression in main menu and context menu when there is an icon
2 participants