Skip to content

Commit f334dbc

Browse files
author
Trent Willis
committed
Improve styling for nodes table controls
1 parent 47834cf commit f334dbc

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

app/styles/app.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ body {
5050
left: 0;
5151
}
5252

53+
.nodes-controls {
54+
padding: 1rem;
55+
border-bottom: 1px solid #eee;
56+
}
57+
5358
.nodes-table_header tr:hover {
5459
background-color: initial;
5560
}

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

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
<div class="level">
1+
<div class="nodes-controls level is-marginless">
22
<div class="level-left">
33
<div class="level-item">
4-
<p class="control">
5-
{{input value=pluginNameFilter placeholder="Filter by plugin name..."}}
4+
<p class="control has-addons">
5+
{{input class="input" value=pluginNameFilter placeholder="Filter by plugin name..."}}
6+
7+
<button class="button is-primary {{if (not pluginNameFilter) 'is-disabled'}}" {{action (action (mut pluginNameFilter) '')}}>Clear</button>
68
</p>
79
</div>
10+
811
<div class="level-item">
912
<p class="control">
1013
<label class="checkbox">
@@ -14,11 +17,6 @@
1417
</p>
1518
</div>
1619
</div>
17-
<div class="level-right">
18-
<p class="control">
19-
<button class="button" {{action (action (mut pluginNameFilter) '')}}>Clear</button>
20-
</p>
21-
</div>
2220
</div>
2321

2422
<table class="nodes-table table is-striped">

0 commit comments

Comments
 (0)