Skip to content

Commit

Permalink
fix(material-experimental/mdc-button): extended fab touch target not …
Browse files Browse the repository at this point in the history
…covering entire button (angular#24322)

Fixes that the extended FAB touch target was square which meant that it didn't cover the entire button.
  • Loading branch information
crisbeto authored and forsti0506 committed Apr 3, 2022
1 parent 12ad974 commit aff3061
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/material-experimental/mdc-button/fab.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,9 @@
);
}
}

// All FABs are square except the extended ones so we
// need to set the touch target back to full-width.
.mat-mdc-extended-fab .mat-mdc-button-touch-target {
width: 100%;
}

0 comments on commit aff3061

Please sign in to comment.