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

fix(fab-buttons): vertically align icons inside fab buttons #8442

Merged

Conversation

EladBezalel
Copy link
Member

  • added .mat-fab & .mat-mini-fabto the vertical align definition of buttons

- added `.mat-fab` & `.mat-mini-fab`to the vertical align definition of buttons
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Nov 14, 2017
@@ -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 {
Copy link
Member

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?

Copy link
Member Author

@EladBezalel EladBezalel Nov 15, 2017

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

Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jelbourn jelbourn added merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note pr: lgtm action: merge The PR is ready for merge by the caretaker labels Nov 15, 2017
@jelbourn
Copy link
Member

Caretaker note: do a global run for this one, be on the lookout for screenshot failures

Copy link
Contributor

@tinayuangao tinayuangao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jelbourn jelbourn merged commit 43217ef into angular:master Nov 20, 2017
@EladBezalel EladBezalel deleted the fix/fab-vertical-align-icon-buttons branch November 20, 2017 17:44
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants