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 (#24322)

Fixes that the extended FAB touch target was square which meant that it didn't cover the entire button.

(cherry picked from commit c49f83b)
  • Loading branch information
crisbeto authored and andrewseguin committed Mar 27, 2022
1 parent 9497b02 commit a704913
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 a704913

Please sign in to comment.