We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
mat-icon instances are not vertically aligned with the option text when placed inside mat-option elements.
mat-icon
mat-option
Icons should be vertically aligned.
Not vertically aligned.
https://stackblitz.com/edit/angular-material2-issue-5num53
Aesthetics, plus consistency with other APIs like mat-menu-item in which icons are vertically aligned by default.
mat-menu-item
Latest StackBlitz template, Chrome 64, Win 10
Maybe vertical-align: middle should be added to mat-menu-item-base here and removed here.
vertical-align: middle
mat-menu-item-base
The text was updated successfully, but these errors were encountered:
fix(select): icons inside option not centered
983951c
Fixes `mat-icon` instances inside a `mat-option` not being centered vertically. Fixes angular#9978.
fix(select): icons inside option not centered (#9982)
9914312
Fixes `mat-icon` instances inside a `mat-option` not being centered vertically. Fixes #9978.
7c123b8
ecc7f53
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
Sorry, something went wrong.
crisbeto
Successfully merging a pull request may close this issue.
Bug, feature request, or proposal:
mat-icon
instances are not vertically aligned with the option text when placed insidemat-option
elements.What is the expected behavior?
Icons should be vertically aligned.
What is the current behavior?
Not vertically aligned.
What are the steps to reproduce?
https://stackblitz.com/edit/angular-material2-issue-5num53
What is the use-case or motivation for changing an existing behavior?
Aesthetics, plus consistency with other APIs like
mat-menu-item
in which icons are vertically aligned by default.Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Latest StackBlitz template, Chrome 64, Win 10
Is there anything else we should know?
Maybe
vertical-align: middle
should be added tomat-menu-item-base
here and removed here.The text was updated successfully, but these errors were encountered: