forked from simpleangularcontrols/simpleangularcontrols
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Spacing between Buttons in Confirm Dialog cannot be customized
# Conflicts: # ch.jnetwork.sac-controls/projects/sac-bootstrap3/src/controls/buttons/button.ts
- Loading branch information
1 parent
b680a2a
commit 08176ff
Showing
3 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
border: 1px solid red; | ||
} | ||
|
||
.day-disabled{ | ||
.day-disabled { | ||
color: gray; | ||
} | ||
} | ||
|
4 changes: 3 additions & 1 deletion
4
ch.jnetwork.sac-controls/projects/sac-bootstrap3/src/controls/buttons/button.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters