Skip to content

Commit

Permalink
fix: dialog service right aligned buttons pushed to right (#565)
Browse files Browse the repository at this point in the history
* buttons right aligned buttons pushed to right

* fix: button wrapping logic
  • Loading branch information
markuczy authored Oct 29, 2024
1 parent fc25ec2 commit 9e61f05
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
<ng-container #container></ng-container>
<ng-content></ng-content>
</div>
<div
class="w-full flex-column sm:flex-row align-content-end sm:align-content-start flex flex-wrap row-gap-2 column-gap-2"
>
<div class="w-full flex-row justify-content-end flex flex-wrap gap-2">
<ng-container *ngFor="let button of leftCustomButtons; index as i">
<div [ngStyle]="{'margin-right': (i === leftCustomButtons.length - 1) ? 'auto' : 0}">
<ng-container *ngTemplateOutlet="customButton; context: {button: button}"> </ng-container>
Expand Down

0 comments on commit 9e61f05

Please sign in to comment.