-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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(fab-buttons): vertically align icons inside fab buttons #8442
fix(fab-buttons): vertically align icons inside fab buttons #8442
Conversation
- added `.mat-fab` & `.mat-mini-fab`to the vertical align definition of buttons
@@ -51,7 +51,7 @@ | |||
} | |||
|
|||
// The text and icon should be vertical aligned inside a button | |||
.mat-button, .mat-raised-button, .mat-icon-button { | |||
.mat-button, .mat-raised-button, .mat-icon-button, .mat-fab, .mat-mini-fab { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this change the color
in any circumstances?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in mat-icon
css there's fill: currentColor;
which means that it always should be the currentColor
.. from my tests it doesn't affect the color of the or the text in a fab button
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Caretaker note: do a global run for this one, be on the lookout for screenshot failures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
.mat-fab
&.mat-mini-fab
to the vertical align definition of buttons