Skip to content

Commit

Permalink
Merge pull request #16117 from primefaces/issue-14916
Browse files Browse the repository at this point in the history
Fixed #14916 - Dialog | Material Design close button regression
  • Loading branch information
cetincakiroglu authored Aug 1, 2024
2 parents cc4e168 + 7358ce2 commit e7d9e1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/components/dialog/dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ const hideAnimation = animation([animate('{{transition}}', style({ transform: '{
pRipple
pButton
[attr.tabindex]="closeTabindex"
[ngStyle]="{ 'min-width': 0 }"
>
<ng-container *ngIf="!closeIconTemplate">
<span *ngIf="closeIcon" class="p-dialog-header-close-icon" [ngClass]="closeIcon"></span>
Expand Down Expand Up @@ -1063,3 +1064,4 @@ export class Dialog implements AfterContentInit, OnInit, OnDestroy {
declarations: [Dialog]
})
export class DialogModule {}

0 comments on commit e7d9e1c

Please sign in to comment.