From 52a463305fe249fd02f3846aa432c35b2c591b15 Mon Sep 17 00:00:00 2001 From: Chris Houseknecht Date: Mon, 30 Jun 2014 23:41:40 -0400 Subject: [PATCH] Search widget spacing When user switches from a search filter using an input field to one using a drop-down the bottom margin no longer disappears. The disappearing margin caused an unpleasant bounce effect. --- awx/ui/static/less/ansible-ui.less | 6 +++++- awx/ui/static/lib/ansible/generator-helpers.js | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/awx/ui/static/less/ansible-ui.less b/awx/ui/static/less/ansible-ui.less index 4f026634ad..4e1eb65628 100644 --- a/awx/ui/static/less/ansible-ui.less +++ b/awx/ui/static/less/ansible-ui.less @@ -708,7 +708,11 @@ select.page-size { } .ui-widget-content a.search-reset-start { - color: @grey; + color: @grey; + } + + #search-widget-spacer { + height: 20px; } /* breadcrumbs */ diff --git a/awx/ui/static/lib/ansible/generator-helpers.js b/awx/ui/static/lib/ansible/generator-helpers.js index 141ece82bb..022f77d83e 100644 --- a/awx/ui/static/lib/ansible/generator-helpers.js +++ b/awx/ui/static/lib/ansible/generator-helpers.js @@ -792,6 +792,8 @@ angular.module('GeneratorHelpers', []) iterator + "HideAllStartBtn" + modifier + "\"" + ">\n"; + html += "
\n"; + if (includeSize) { html += "\n"; }