Skip to content

Commit

Permalink
fix(fab-buttons): vertically align icons inside fab buttons (#8442)
Browse files Browse the repository at this point in the history
Adds `.mat-fab` & `.mat-mini-fab`to the vertical align definition of buttons
  • Loading branch information
EladBezalel authored and jelbourn committed Nov 20, 2017
1 parent d2aa774 commit 43217ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/button/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
color: currentColor;
.mat-button-wrapper > * {
vertical-align: middle;
Expand Down

0 comments on commit 43217ef

Please sign in to comment.