Skip to content

Commit

Permalink
fix(ngx-material-pages): ng-deep will not affect external tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyNahas committed Apr 15, 2018
1 parent 2cd576e commit 48fad96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</mat-toolbar>
<div class="demo-sidenav-content main-container">

<mat-tab-group [selectedIndex]="index" style="min-height: 15vh;">
<mat-tab-group [selectedIndex]="index" style="min-height: 15vh;" class="hide-deep">
<button mat-fab color="warn" (click)="previous()">
<mat-icon>location</mat-icon>
</button>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
::ng-deep .mat-tab-label-container {
display: none !important;
.hide-deep {
::ng-deep .mat-tab-label-container {
display: none !important;
}
}

.navigation-buttons {
Expand Down

0 comments on commit 48fad96

Please sign in to comment.