Fixed deprecated /deep/ selector

This commit is contained in:
Giuseppe Digilio
2020-02-25 17:31:55 +01:00
parent 076ee8b26d
commit d95d68dd7f

View File

@@ -1,4 +1,4 @@
:host /deep/ .card {
:host ::ng-deep .card {
margin-bottom: $submission-sections-margin-bottom;
overflow: unset;
}
@@ -9,13 +9,13 @@
}
// TODO to remove the following when upgrading @ng-bootstrap
:host /deep/ .card:first-of-type {
:host ::ng-deep .card:first-of-type {
border-bottom: $card-border-width solid $card-border-color !important;
border-bottom-left-radius: $card-border-radius !important;
border-bottom-right-radius: $card-border-radius !important;
}
:host /deep/ .card-header button {
:host ::ng-deep .card-header button {
box-shadow: none !important;
width: 100%;
}