Skip to content

Commit

Permalink
slight adjust for list named icon position
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Conway-Jones committed Jun 26, 2020
1 parent b448c41 commit 2de566b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node-red-node-ui-list/ui_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module.exports = function(RED) {
var desc = (allowHTML ? String.raw`<span ng-bind-html="item.description"></span>` : String.raw`{{item.description}}`);
var icon = String.raw`
<img src="{{item.icon}}" class="md-avatar" ng-if="(item.icon !== undefined) && (item.icon !== null)">
<md-icon aria-label="{{item.desc}}" ng-if="(item.icon === undefined) && (item.icon_name !== undefined)"><ui-icon icon="{{item.icon_name}}"></ui-icon></md-icon>
<md-icon aria-label="{{item.desc}}" style="height:unset" ng-if="(item.icon === undefined) && (item.icon_name !== undefined)"><ui-icon icon="{{item.icon_name}}"></ui-icon></md-icon>
<span class="md-avatar" style="font-size:x-large; height:unset;" ng-if="(item.icon === undefined) && (item.icon_unicode !== undefined)"><h1>{{item.icon_unicode}}</h1></span>
<md-icon class="md-avatar-icon" aria-label="{{item.desc}}" ng-if="(item.icon === null) && (item.icon_name === undefined) && (item.icon_unicode === undefined)"></md-icon>
`;
Expand Down

0 comments on commit 2de566b

Please sign in to comment.