diff options
author | Chris Houseknecht <chouse@ansible.com> | 2014-07-10 20:00:51 +0200 |
---|---|---|
committer | Chris Houseknecht <chouse@ansible.com> | 2014-07-10 20:00:51 +0200 |
commit | 1ce4396c2fc4a345a9972d73b98593da7252f728 (patch) | |
tree | 535dd8e2d2fd1e9a7d36fe9e0336ebc1192862f5 | |
parent | Job detail page re-refactor (diff) | |
download | awx-1ce4396c2fc4a345a9972d73b98593da7252f728.tar.xz awx-1ce4396c2fc4a345a9972d73b98593da7252f728.zip |
Styling
Fixed or improved search widget responsiveness on smaller viewports.
-rw-r--r-- | awx/ui/static/lib/ansible/generator-helpers.js | 2 | ||||
-rw-r--r-- | awx/ui/static/lib/ansible/list-generator.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/awx/ui/static/lib/ansible/generator-helpers.js b/awx/ui/static/lib/ansible/generator-helpers.js index 32ee1f71e0..adf28fe41e 100644 --- a/awx/ui/static/lib/ansible/generator-helpers.js +++ b/awx/ui/static/lib/ansible/generator-helpers.js @@ -742,7 +742,7 @@ angular.module('GeneratorHelpers', []) if (includeSize) { html += "<div class=\""; - html += (size) ? size : "col-lg-4 col-md-6"; + html += (size) ? size : "col-lg-4 col-md-6 col-sm-8 col-xs-9"; html += "\" id=\"search-widget-container" + modifier + "\">\n"; } diff --git a/awx/ui/static/lib/ansible/list-generator.js b/awx/ui/static/lib/ansible/list-generator.js index 441411b277..0795fcb35b 100644 --- a/awx/ui/static/lib/ansible/list-generator.js +++ b/awx/ui/static/lib/ansible/list-generator.js @@ -228,7 +228,7 @@ angular.module('ListGenerator', ['GeneratorHelpers']) } else if (options.id !== undefined) { html += "col-lg-4"; } else { - html += "col-lg-8 col-md-6"; + html += "col-lg-8 col-md-6 col-sm-4 col-xs-3"; } html += "\">\n"; |