Skip to content

Commit 43217ef

Browse files
EladBezaleljelbourn
authored andcommitted
fix(fab-buttons): vertically align icons inside fab buttons (#8442)
Adds `.mat-fab` & `.mat-mini-fab`to the vertical align definition of buttons
1 parent d2aa774 commit 43217ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/button/button.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
}
5252

5353
// The text and icon should be vertical aligned inside a button
54-
.mat-button, .mat-raised-button, .mat-icon-button {
54+
.mat-button, .mat-raised-button, .mat-icon-button, .mat-fab, .mat-mini-fab {
5555
color: currentColor;
5656
.mat-button-wrapper > * {
5757
vertical-align: middle;

0 commit comments

Comments
 (0)