Skip to content

Commit

Permalink
feat: change styling of dialog buttons (onecx#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
markuczy authored Jul 3, 2024
1 parent d338d83 commit 9b9d594
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
<ng-container #container></ng-container>
<ng-content></ng-content>
</div>
<div class="w-full flex justify-content-end mb-3">
<div class="w-full flex justify-content-end column-gap-2">
<button
id="buttonDialogSecondaryButton"
pButton
*ngIf="dialogData.config.secondaryButtonIncluded"
class="mx-2"
[icon]="dialogData.config.secondaryButtonDetails!.icon !== undefined ? dialogData.config.secondaryButtonDetails!.icon : ''"
(click)="secondaryButtonAction()"
[label]="dialogData.config.secondaryButtonDetails!.key | translate:dialogData.config.secondaryButtonDetails?.parameters"
Expand All @@ -19,7 +18,6 @@
<button
id="buttonDialogPrimaryButton"
pButton
class="mx-2"
[icon]="dialogData.config.primaryButtonDetails!.icon !== undefined ? dialogData.config.primaryButtonDetails!.icon : ''"
(click)="primaryButtonAction()"
[label]="dialogData.config.primaryButtonDetails!.key | translate:dialogData.config.primaryButtonDetails?.parameters"
Expand Down

0 comments on commit 9b9d594

Please sign in to comment.