Skip to content

Commit

Permalink
fix: Spacing between Buttons in Confirm Dialog cannot be customized
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjenni committed Aug 31, 2024
1 parent dec31f5 commit dcc2dc5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
border: 1px solid red;
}

.day-disabled{
.day-disabled {
color: gray;
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Component } from '@angular/core';
import { Component, ViewEncapsulation } from '@angular/core';
import { SacButtonCommon } from '@simpleangularcontrols/sac-common';

@Component({
selector: 'sac-button',
templateUrl: './button.html'
templateUrl: './button.html',
styles: ['sac-button+sac-button {margin-left: 5px}'], // Workaround: Abstand zwischen 2 Buttons setzen, da Boostrap3 nicht mit Host Items umgehen kann
encapsulation: ViewEncapsulation.None, // Workaround: Abstand zwischen 2 Buttons setzen, da Boostrap3 nicht mit Host Items umgehen kann
})
export class SacButtonComponent extends SacButtonCommon {

}
export class SacButtonComponent extends SacButtonCommon {}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
[text]="button.text"
[role]="button.role || 'default'"
(clicked)="confirm(button.key)"
style="margin-left: 15px"
></sac-button>
</ng-container>
</div>
Expand Down

0 comments on commit dcc2dc5

Please sign in to comment.