Adjust margins around the task header Change-Id: I72385f798da055316d83a2e0978395147b43c395
diff --git a/gr-task-plugin/gr-task-plugin.html b/gr-task-plugin/gr-task-plugin.html index 36813a0..55ba063 100644 --- a/gr-task-plugin/gr-task-plugin.html +++ b/gr-task-plugin/gr-task-plugin.html
@@ -17,7 +17,10 @@ <dom-module id="gr-task-plugin"> <template> <style> - ul { padding-left: 0.5em; } + ul { + padding-left: 0.5em; + margin-top: 0; + } h3 { padding-left: 0.1em; } .cursor { cursor: pointer; } #tasks_header { @@ -32,6 +35,7 @@ cursor: pointer; text-decoration: underline; } + .no-margins { margin: 0 0 0 0; } </style> <div id="tasks" hidden$="[[!_tasks.length]]"> @@ -47,16 +51,16 @@ on-tap="_switch_expand" class="cursor"> </iron-icon> <div style="display: flex; align-items: center; column-gap: 1em;"> - <h3 on-tap="_switch_expand" class="cursor"> Tasks </h3> + <h3 class="no-margins" on-tap="_switch_expand" class="cursor"> Tasks </h3> <template is="dom-if" if="[[_is_show_all(_show_all)]]"> - <p>All ([[_all_count]]) | + <p class="no-margins">All ([[_all_count]]) | <span on-click="_needs_and_blocked_tap" class="links">Needs + Blocked ([[_ready_count]], [[_fail_count]])</span> <p> </template> <template is="dom-if" if="[[!_is_show_all(_show_all)]]"> - <p> <span + <p class="no-margins"> <span class="links" on-click="_show_all_tap">All ([[_all_count]])</span> | Needs + Blocked ([[_ready_count]], [[_fail_count]])</p>