Skip to content

Commit 8d367c1

Browse files
authored
Update comments in dialog.scss for more clarity
1 parent 9d2ac16 commit 8d367c1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/material-experimental/mdc-dialog/dialog.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ $mat-dialog-button-horizontal-margin: 8px !default;
2929
// aligns actions at the end of the container.
3030
justify-content: start;
3131

32-
// .align-center and .align-end are set by directive input "align"
32+
// .mat-mdc-dialog-actions-align-{center|end} are set by directive input "align"
33+
// [align='center'] and [align='right'] are kept for backwards compability
3334
&.mat-mdc-dialog-actions-align-center, &[align='center'] {
3435
justify-content: center;
3536
}

src/material/dialog/dialog.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ $button-margin: 8px !default;
5656
// Pull the actions down to avoid their padding stacking with the dialog's padding.
5757
margin-bottom: -$padding;
5858

59-
// .align-center and .align-end are set by directive input "align"
59+
// .mat-dialog-actions-align-{center|end} are set by directive input "align"
6060
// [align='center'] and [align='right'] are kept for backwards compability
6161
&.mat-dialog-actions-align-center, &[align='center'] {
6262
justify-content: center;

0 commit comments

Comments
 (0)