Skip to content

Commit

Permalink
Show label_minor on pseudo nodes, that might not have much other info
Browse files Browse the repository at this point in the history
  • Loading branch information
foot committed Jul 25, 2016
1 parent a5353dc commit 2ff6e74
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/app/scripts/charts/nodes-grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ function renderIdCell(props, onClick) {
<div className="nodes-grid-id-column" onClick={onClick}>
<div className="content">
<div style={style}><i className="fa fa-square" /></div>
<div className="truncate">{props.label}</div>
<div className="truncate">
{props.label} {props.pseudo &&
<span className="nodes-grid-label-minor">{props.label_minor}</span>}
</div>
</div>
</div>
);
Expand Down
4 changes: 4 additions & 0 deletions client/app/styles/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -1522,6 +1522,10 @@ h2 {
border-radius: 6px;
}

&-label-minor {
opacity: 0.7;
}

&-id-column {
margin: -3px -4px;
padding: 2px 2px;
Expand Down

0 comments on commit 2ff6e74

Please sign in to comment.