Bug
The icon should be centered in the button.
The icon is displaced 8px upwards to be very close to outer edge of the button.
http://plnkr.co/edit/ljTlfhIkQeksCEGimtXM?p=preview
Angular 2.0.0-rc.5, angular2-material-alpha.7-4
Replicated on Windows 10 using Chrome, Firefox, Edge and IE 11.
Changing the CSS style line-height from 24px to 40px (to correspond with the width and height of the button) seems to solve the issue.
I think the proper solution would be to add the following here
.md-button-wrapper {
min-height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
I can send a pr if it's fine for you @kara @jelbourn
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._
Most helpful comment
I think the proper solution would be to add the following here
I can send a pr if it's fine for you @kara @jelbourn