Navigation icon styles fixed.

This commit is contained in:
mustafahlvc 2017-07-26 13:39:30 +03:00
parent 906799c694
commit 6006faf4e1
3 changed files with 4 additions and 8 deletions

View File

@ -1,5 +1,5 @@
<a class="nav-link" md-ripple (click)="toggleOpen($event)">
<md-icon class="nav-link-icon" *ngIf="item.icon">{{item.icon}}</md-icon>
<md-icon class="nav-link-icon s-16" *ngIf="item.icon">{{item.icon}}</md-icon>
<span>{{item.title}}</span>
<md-icon class="collapse-arrow">keyboard_arrow_right</md-icon>
</a>

View File

@ -1,5 +1,5 @@
<a class="nav-link" md-ripple
[routerLink]="[item.url]" routerLinkActive="active">
<md-icon class="nav-link-icon" *ngIf="item.icon">{{item.icon}}</md-icon>
<md-icon class="nav-link-icon s-16" *ngIf="item.icon">{{item.icon}}</md-icon>
<span>{{item.title}}</span>
</a>

View File

@ -55,11 +55,7 @@
.nav-link-icon,
.collapse-arrow {
font-size: 16px;
width: 16px;
height: 16px;
line-height: 16px;
color: map_get($mat-light-theme-foreground, icon);;
color: map_get($mat-light-theme-foreground, icon);
}
}