-
Notifications
You must be signed in to change notification settings - Fork 3.4k
md-icon inside md-button doesn't get text color #2551
Comments
Just use |
Why I should put inline style for color when the work should be done by the theme? |
@davide-quix - Thanks for the follow-up question. While you can easily override and set the color, I agree that the icon should inherit the parent's color (unless explicitly overridden at the Icon or SVG levels). |
Please how can I change both |
Hi FrederickE, Did you find solution for this problem? We are facing the same issue and have no solution as yet. :(. |
@MustafaASK, yes I later figured it out and updated the CSS. Check the plunker |
Thanks a ton, FrederickE. This made my day! |
When inserting an md-icon inside and md-button without md-raised class, to make a button with icon and text, the md-icon doesn't take the same color as text. Causing a very fuzzy button to display.
http://plnkr.co/edit/lbvK84KZHYYzLshoRxiB?p=preview
In the previous version (0.8.x) this worked.
The text was updated successfully, but these errors were encountered: