-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1413 from christophercr/bugfix/table-demo-styles
fix(stark-demo): replace encapsulated styles of Table Regular Component by global styles since they depend on Angular Material theming
- Loading branch information
Showing
5 changed files
with
20 additions
and
11 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
showcase/src/app/demo-ui/components/table-regular/table-regular-theme.scss
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// todo review after #509 (https://github.com/NationalBankBelgium/stark/issues/509) | ||
.showcase-table-regular { | ||
.shadowed { | ||
.header { | ||
@include mat-elevation(2); | ||
} | ||
} | ||
} |
11 changes: 5 additions & 6 deletions
11
showcase/src/app/demo-ui/components/table-regular/table-regular.component.scss
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,9 +1,8 @@ | ||
@import "~@angular/material/theming"; | ||
|
||
// todo review after #509 (https://github.com/NationalBankBelgium/stark/issues/509) | ||
.shadowed { | ||
.header { | ||
padding: 10px 15px; | ||
@include mat-elevation(2); | ||
.showcase-table-regular { | ||
.shadowed { | ||
.header { | ||
padding: 10px 15px; | ||
} | ||
} | ||
} |
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
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
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