diff --git a/lib/core/src/lib/dialogs/confirm-dialog/confirm.dialog.html b/lib/core/src/lib/dialogs/confirm-dialog/confirm.dialog.html index 264f2370ce0..4ded5949685 100644 --- a/lib/core/src/lib/dialogs/confirm-dialog/confirm.dialog.html +++ b/lib/core/src/lib/dialogs/confirm-dialog/confirm.dialog.html @@ -1,20 +1,37 @@

{{ title | translate }}

-

+

{{ message | translate }}

- - - + +
- - - + + + diff --git a/lib/core/src/lib/dialogs/confirm-dialog/confirm.dialog.scss b/lib/core/src/lib/dialogs/confirm-dialog/confirm.dialog.scss index cda5494e08b..8d956747142 100644 --- a/lib/core/src/lib/dialogs/confirm-dialog/confirm.dialog.scss +++ b/lib/core/src/lib/dialogs/confirm-dialog/confirm.dialog.scss @@ -8,6 +8,6 @@ } & .adf-confirm-dialog-content { - margin: 0 -24px; + width: 100%; } } diff --git a/lib/core/src/lib/dialogs/confirm-dialog/confirm.dialog.ts b/lib/core/src/lib/dialogs/confirm-dialog/confirm.dialog.ts index 0e3fd5c9173..ce8d34ebe1e 100644 --- a/lib/core/src/lib/dialogs/confirm-dialog/confirm.dialog.ts +++ b/lib/core/src/lib/dialogs/confirm-dialog/confirm.dialog.ts @@ -15,7 +15,7 @@ * limitations under the License. */ -import { Component, Inject, ViewEncapsulation, SecurityContext } from '@angular/core'; +import { Component, Inject, SecurityContext, ViewEncapsulation } from '@angular/core'; import { MAT_DIALOG_DATA } from '@angular/material/dialog'; import { DomSanitizer } from '@angular/platform-browser'; @@ -36,7 +36,6 @@ export interface ConfirmDialogComponentProps { encapsulation: ViewEncapsulation.None }) export class ConfirmDialogComponent { - title: string; message: string; yesLabel: string; @@ -57,5 +56,4 @@ export class ConfirmDialogComponent { sanitizedHtmlContent(): string { return this.sanitizer.sanitize(SecurityContext.HTML, this.htmlContent); } - }