Skip to content

Commit

Permalink
Fixes #1881 - Delete function icon on Functions list page is missing (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ehamai authored Oct 16, 2017
1 parent 0d8000a commit 5bf6611
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,14 @@ <h2>{{ 'functions' | translate }}</h2><i *ngIf="isLoading" class="fa fa-refresh
(change)="enableChange(item, $event)"></slide-toggle>
</div>
</td>
<td class="command-icon">
<td class="icon-cell">
<div [fnWriteAccess]="functionApp">
<a role="button"
[attr.aria-label]="'functionManage_delete' | translate:{name: item.functionName}"
style="background-image: url('image/delete.svg')"
(click)="clickDelete(item)">
</a>
<span role="button"
class="icon-small"
load-image="image/delete.svg"
[attr.aria-label]="'functionManage_delete' | translate:{name: item.functionName}"
(click)="clickDelete(item)">
</span>
</div>
</td>
</tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,25 @@ h2{
.search-box-container {
width: 250px;
margin-bottom: 15px;
}

td.icon-cell{
&:hover{
background-color: $item-selected-color;
}
}

.icon-small{
height: 18px;
width: 18px;
vertical-align: middle;
margin-left: 7px;
}

:host-context(#app-root[theme=dark]){
td.icon-cell{
&:hover{
background-color: $item-selected-color-dark;
}
}
}

0 comments on commit 5bf6611

Please sign in to comment.