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
# Conflicts:
#	ch.jnetwork.sac-controls/projects/sac-bootstrap3/src/controls/buttons/button.ts
  • Loading branch information
philippjenni committed Aug 31, 2024
1 parent b680a2a commit 08176ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 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,11 +1,13 @@
import { CommonModule, NgClass, NgIf } from '@angular/common';
import { Component } from '@angular/core';
import { Component, ViewEncapsulation } from '@angular/core';
import { SacButtonCommon } from '@simpleangularcontrols/sac-common';

@Component({
selector: 'sac-button',
templateUrl: './button.html',
standalone: true,
imports: [NgIf, NgClass, CommonModule],
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 {}
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 08176ff

Please sign in to comment.