Skip to content

Commit

Permalink
feat: last bread
Browse files Browse the repository at this point in the history
  • Loading branch information
artemnih committed Oct 6, 2021
1 parent d9c0652 commit 2022aa3
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="nxe-breadcrumbs">
<span *ngFor="let crumb of breadcrumbs">
<div class="nxe-breadcrumbs-container">
<span *ngFor="let crumb of breadcrumbs; let last = last">
<span (click)="click(crumb)" class="nxe-breadcrumb">{{ crumb.name }}</span>
<span class="nxe-breadcrumb-separator">
<span *ngIf="!last" class="nxe-breadcrumb-separator">
<i class="fa fa-angle-right" aria-hidden="true"></i>
</span>
</span>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.nxe-breadcrumbs {
.nxe-breadcrumbs-container {
margin: 5px 10px;

.nxe-breadcrumb {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<nxe-menu-bar></nxe-menu-bar>
<nxe-breadcrumbs></nxe-breadcrumbs>
<nxe-icons></nxe-icons>
<div class="nxe-explorer-container">
<nxe-menu-bar></nxe-menu-bar>
<nxe-breadcrumbs></nxe-breadcrumbs>
<nxe-icons></nxe-icons>
</div>
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<div class="nxe-icons-container">
<div class="nxe-icons-wrapper" [ngClass]="{'nxe-icon-selected':isSelected(item)}" *ngFor="let item of items" (dblclick)="open($event, item)" (click)="select($event, item)">
<div class="nxe-icons-wrapper" [ngClass]="{'nxe-icon-selected':isSelected(item)}" *ngFor="let item of items" (dblclick)="open($event, item)"
(click)="select($event, item)">
<div class="nxe-icon">
<i [className]="icons[item.type]"></i>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
.nxe-icons-wrapper {
padding-bottom: 5px;
width: 80px;
border-radius: 8px;
border-radius: 5px;
text-align: center;
border: 1px solid transparent;
margin: 0px 5px;
Expand Down

0 comments on commit 2022aa3

Please sign in to comment.