Skip to content

Commit

Permalink
fixed #7017 ConfirmDialog set width
Browse files Browse the repository at this point in the history
  • Loading branch information
yigitfindikli committed Dec 20, 2018
1 parent f029d6e commit da3155a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/components/confirmdialog/confirmdialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {Subscription} from 'rxjs';
@Component({
selector: 'p-confirmDialog',
template: `
<div [ngClass]="{'ui-dialog ui-confirmdialog ui-widget ui-widget-content ui-corner-all ui-shadow':true,'ui-dialog-rtl':rtl}" (mousedown)="moveOnTop()"
<div [ngClass]="{'ui-dialog ui-confirmdialog ui-widget ui-widget-content ui-corner-all ui-shadow':true,'ui-dialog-rtl':rtl}" [ngStyle]="style" [class]="styleClass" (mousedown)="moveOnTop()"
[@animation]="{value: 'visible', params: {transitionParams: transitionOptions}}" (@animation.start)="onAnimationStart($event)" *ngIf="visible">
<div class="ui-dialog-titlebar ui-widget-header ui-helper-clearfix ui-corner-top">
<span class="ui-dialog-title" *ngIf="header">{{header}}</span>
Expand Down Expand Up @@ -56,6 +56,10 @@ export class ConfirmDialog implements OnDestroy {
@Input() icon: string;

@Input() message: string;

@Input() style: any;

@Input() styleClass: string;

@Input() acceptIcon: string = 'pi pi-check';

Expand Down

0 comments on commit da3155a

Please sign in to comment.