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

Showing properly icon beside of text in mat-stroked-button #10353

Open
bitbeter opened this issue Mar 10, 2018 · 0 comments
Open

Showing properly icon beside of text in mat-stroked-button #10353

bitbeter opened this issue Mar 10, 2018 · 0 comments
Labels
area: material/button area: material/icon P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Comments

@bitbeter
Copy link

bitbeter commented Mar 10, 2018

Bug, feature request, or proposal:

There is a bug in showing simultaneously icon and text in horizontal middle.

What is the expected behavior?

In mat-button icon and text showing correctly, but in mat-stroked-button this feature not working.

screen shot 1396-12-19 at 13 24 54
screen shot 1396-12-19 at 13 25 16

<a color="primary" mat-stroked-button>
   <span>تایید نهایی</span>
   <mat-icon>done</mat-icon>
</a>

<a color="primary" mat-button>
   <span>تایید نهایی</span>
   <mat-icon>done</mat-icon>
</a>

I Working in rtl direction mode so maybe this feature working well in normal ltr direction.

Thank You 😘

@crisbeto crisbeto self-assigned this Mar 10, 2018
@crisbeto crisbeto added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent has pr labels Mar 10, 2018
crisbeto added a commit to crisbeto/material2 that referenced this issue Mar 10, 2018
Fixes icons placed inside of a stroked button not being centered vertically.

Fixes angular#10353.
@mmalerba mmalerba removed the has pr label Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: material/button area: material/icon P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants