Skip to content

Commit d6deb45

Browse files
authored
Use 'start' as default instead of undefined for align attribute in dialog actions
1 parent 8d367c1 commit d6deb45

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/material-experimental/mdc-dialog/dialog-content-directives.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export class MatDialogContent {}
148148
},
149149
})
150150
export class MatDialogActions {
151-
@Input() align?: 'center' | 'end' = undefined;
151+
@Input() align?: 'start' | 'center' | 'end' = 'start';
152152
}
153153

154154
/**

src/material/dialog/dialog-content-directives.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export class MatDialogContent {}
152152
},
153153
})
154154
export class MatDialogActions {
155-
@Input() align?: 'center' | 'end' = undefined;
155+
@Input() align?: 'start' | 'center' | 'end' = 'start';
156156
}
157157

158158
/**

0 commit comments

Comments
 (0)