Skip to content

Commit aff3061

Browse files
crisbetoforsti0506
authored andcommitted
fix(material-experimental/mdc-button): extended fab touch target not covering entire button (angular#24322)
Fixes that the extended FAB touch target was square which meant that it didn't cover the entire button.
1 parent 12ad974 commit aff3061

File tree

1 file changed

+6
-0
lines changed
  • src/material-experimental/mdc-button

1 file changed

+6
-0
lines changed

src/material-experimental/mdc-button/fab.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,9 @@
8989
);
9090
}
9191
}
92+
93+
// All FABs are square except the extended ones so we
94+
// need to set the touch target back to full-width.
95+
.mat-mdc-extended-fab .mat-mdc-button-touch-target {
96+
width: 100%;
97+
}

0 commit comments

Comments
 (0)