Skip to content

Commit

Permalink
Fixed #14916 - Dialog | Material Design close button regression
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetcetin01140 committed Jul 29, 2024
1 parent 6099492 commit 2b528d6
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': null }"
>
<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 2b528d6

Please sign in to comment.