-
Notifications
You must be signed in to change notification settings - Fork 6.8k
bug(button): properly align text in fab buttons #5632 #5634
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
Conversation
@@ -107,7 +107,7 @@ | |||
} | |||
|
|||
@mixin mat-button-typography($config) { | |||
.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.
@crisbeto did you have a reason for omitting the fab buttons here?
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.
I don't remember, but it was probably because the fabs aren't really meant to be used with text.
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.
@crisbeto Is there any reason why not to?
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.
The spec doesn't really have fabs with text, if I remember correctly, but it shouldn't be an issue to keep it anyway.
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.
@crisbeto We good to merge then?
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: let me know if this causes any screenshot diffs |
@jelbourn No screenshot diff failures, so merging. |
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. |
Addresses: Link Fab Buttons incorrect line height #5632
BEFORE

AFTER
