Skip to content

Commit

Permalink
Use 'start' as default instead of undefined for align attribute in di…
Browse files Browse the repository at this point in the history
…alog actions
  • Loading branch information
PooSham committed Jan 9, 2022
1 parent 8d367c1 commit d6deb45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export class MatDialogContent {}
},
})
export class MatDialogActions {
@Input() align?: 'center' | 'end' = undefined;
@Input() align?: 'start' | 'center' | 'end' = 'start';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/material/dialog/dialog-content-directives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export class MatDialogContent {}
},
})
export class MatDialogActions {
@Input() align?: 'center' | 'end' = undefined;
@Input() align?: 'start' | 'center' | 'end' = 'start';
}

/**
Expand Down

0 comments on commit d6deb45

Please sign in to comment.