Skip to content

Commit eeff3e1

Browse files
committed
Add a comment regarding the negative bottom margin on the dialog actions.
1 parent 8043139 commit eeff3e1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib/dialog/dialog.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ md-dialog-actions, [md-dialog-actions], mat-dialog-actions, [mat-dialog-actions]
4646
display: block;
4747

4848
&:last-child {
49+
// If the actions are the last element in a dialog, we need to pull them down
50+
// over the dialog padding, in order to avoid the action's padding stacking
51+
// with the dialog's.
4952
margin-bottom: -$md-dialog-padding;
5053
}
5154
}

0 commit comments

Comments
 (0)