Skip to content

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

Merged
merged 2 commits into from
Jul 21, 2017

Conversation

amcdnl
Copy link
Contributor

@amcdnl amcdnl commented Jul 9, 2017

Addresses: Link Fab Buttons incorrect line height #5632

BEFORE
img2

AFTER
img

@amcdnl amcdnl self-assigned this Jul 9, 2017
@amcdnl amcdnl requested a review from jelbourn July 9, 2017 19:39
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Jul 9, 2017
@@ -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 {
Copy link
Member

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?

Copy link
Member

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.

Copy link
Contributor Author

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?

Copy link
Member

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.

Copy link
Contributor Author

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?

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 pr: lgtm action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note labels Jul 10, 2017
@jelbourn
Copy link
Member

Caretaker note: let me know if this causes any screenshot diffs

@kara
Copy link
Contributor

kara commented Jul 21, 2017

@jelbourn No screenshot diff failures, so merging.

@kara kara removed the merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note label Jul 21, 2017
@kara kara merged commit 2c7ba93 into angular:master Jul 21, 2017
@amcdnl amcdnl deleted the fab-text-align branch July 23, 2017 14:50
@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 6, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants