Skip to content

Commit

Permalink
fix(material-experimental/mdc-form-field): incorrect alignment with b…
Browse files Browse the repository at this point in the history
…order-box alignment (#24222)
  • Loading branch information
crisbeto committed Jan 24, 2022
1 parent 0436aa6 commit b3c9579
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/material-experimental/mdc-form-field/form-field.scss
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@
.mat-mdc-form-field-icon-suffix {
& > .mat-icon {
padding: 12px;
// It's common for apps to apply `box-sizing: border-box`
// globally which will break the alignment.
box-sizing: content-box;
}
}

Expand Down

0 comments on commit b3c9579

Please sign in to comment.