Skip to content

Commit e087267

Browse files
committed
Tidy-up css (time in ms is best view right-aligned)
1 parent 9d2cae1 commit e087267

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

app/styles/app.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,6 @@ body > [class="ember-view"],
7979
cursor: pointer;
8080
}
8181

82+
.td-time {
83+
text-align: right;
84+
}

app/templates/components/slow-node-times.hbs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<div class="level-item">
1212
<p class="control">
1313
<label class="checkbox">
14-
{{input type="checkbox" checked=groupByPluginName}}
14+
<input type="checkbox" checked={{groupByPluginName}} onchange={{action (mut groupByPluginName) value="target.checked"}}>
1515
Group by Plugin Name
1616
</label>
1717
</p>
@@ -24,7 +24,7 @@
2424
<tr>
2525
<td style="width: 65%">Description</td>
2626
<td>{{if groupByPluginName "Count" "Plugin Name"}}</td>
27-
<td>
27+
<td class="td-time">
2828
<a href="#" class="nodes-table_toggle" {{action "toggleTime"}}>Time (ms) <i class="fa fa-caret-{{if sortDescending 'down' 'up'}}"></i></a>
2929
</td>
3030
</tr>
@@ -34,8 +34,8 @@
3434
{{#each sortedNodes as |node|}}
3535
<tr class="table-row" {{action 'toggleDetailsForNode' node}}>
3636
<td>{{node.label.name}}</td>
37-
<td>{{node.label.broccoliPluginName}}</td>
38-
<td>{{ns-to-ms node._stats.time.plugin}}</td>
37+
<td class="table-row-plugin-name">{{node.label.broccoliPluginName}}</td>
38+
<td class="td-time">{{ns-to-ms node._stats.time.plugin}}</td>
3939
</tr>
4040
{{#if node.showDetails}}
4141
<tr>

0 commit comments

Comments
 (0)