File tree Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 25
25
</ fs-nav-frame-toolbar >
26
26
27
27
< fs-nav-frame-sidebar >
28
-
28
+
29
29
< fs-nav-frame-sidebar-item *ngFor ="let route of navRoutes " routerLink ="{{route.path}} ">
30
- < mat-icon class ="icon "> {{route.icon}}</ mat-icon >
31
- < span class =" title " > {{route.title}}</ span >
30
+ < i class ="material-icons "> {{route.icon}}</ i >
31
+ < span > {{route.title}}</ span >
32
32
</ fs-nav-frame-sidebar-item >
33
33
34
34
</ fs-nav-frame-sidebar >
Original file line number Diff line number Diff line change 1
1
< button mat-button [routerLink] ="routerLink " routerLinkActive ="active-link ">
2
- < ng-content select =".icon "> </ ng-content >
3
- < ng-content select =".title "> </ ng-content >
2
+ < ng-content select ="i "> </ ng-content >
3
+ < ng-content select ="span " class =" nav-label "> </ ng-content >
4
4
</ button >
Original file line number Diff line number Diff line change @@ -15,22 +15,22 @@ fs-nav-frame-sidebar-item button {
15
15
width : 100% ;
16
16
overflow : hidden ;
17
17
text-overflow : ellipsis ;
18
- }
19
18
20
- .icon {
21
- margin-left : 12px ;
22
- }
19
+ > i {
20
+ margin-left : 12px ;
21
+ }
23
22
24
- .title {
25
- margin-left : 1rem ;
26
- white-space : nowrap ;
27
- text-overflow : ellipsis ;
23
+ > span {
24
+ margin-left : 1rem ;
25
+ white-space : nowrap ;
26
+ text-overflow : ellipsis ;
27
+ }
28
28
}
29
29
}
30
30
31
- .sidebar.opened > fs-nav-frame-sidebar > fs-nav-frame-sidebar-item button .title {
31
+ .sidebar.opened > fs-nav-frame-sidebar > fs-nav-frame-sidebar-item button .mdc-button__label > span {
32
32
display : block ;
33
33
}
34
- .sidebar :not (.opened ) > fs-nav-frame-sidebar > fs-nav-frame-sidebar-item button .title {
34
+ .sidebar :not (.opened ) > fs-nav-frame-sidebar > fs-nav-frame-sidebar-item button .mdc-button__label > span {
35
35
display : none ;
36
36
}
You can’t perform that action at this time.
0 commit comments