diff --git a/src/material/dialog/dialog.scss b/src/material/dialog/dialog.scss index 1751801dc466..a7db73658d5e 100644 --- a/src/material/dialog/dialog.scss +++ b/src/material/dialog/dialog.scss @@ -50,6 +50,10 @@ $mat-dialog-button-margin: 8px !default; min-height: 52px; align-items: center; + // Explicitly set a box-sizing since people commonly set `border-box` + // on all elements which will break the height of the dialog actions. + box-sizing: content-box; + // Pull the actions down to avoid their padding stacking with the dialog's padding. margin-bottom: -$mat-dialog-padding;