wrapped the links in <a> tags so that the navigation (open in new tab, open in new window) would display in the context menu

pull/22/head
Chris Veilleux 2018-11-15 16:12:24 -06:00
parent 369fed20cf
commit 7931b216a5
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,6 @@
<mat-list-item (click)="navigateToUrl()">
<a href="{{item.url}}">
<mat-list-item>
<div style="width: 40px"></div>
<span class="mat-body-1" [ngStyle]="navItemStyle">{{item.text}}</span>
</mat-list-item>
</mat-list-item>
</a>

View File

@ -1,5 +1,5 @@
.mat-list-item {
height: 20px;
height: 30px;
}
.mat-body-1 {