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)"> <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> <span>{{item.title}}</span>
<md-icon class="collapse-arrow">keyboard_arrow_right</md-icon> <md-icon class="collapse-arrow">keyboard_arrow_right</md-icon>
</a> </a>

View File

@ -1,5 +1,5 @@
<a class="nav-link" md-ripple <a class="nav-link" md-ripple
[routerLink]="[item.url]" routerLinkActive="active"> [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> <span>{{item.title}}</span>
</a> </a>

View File

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