From 44077a2c6f5ade746712b9b0c18fab61c2452409 Mon Sep 17 00:00:00 2001 From: Rob Harrington Date: Wed, 6 Apr 2016 15:43:55 +1000 Subject: [PATCH] Fixing styling (bottom margin for save-bar) on inventory page --- app/views/admin/variant_overrides/_filters.html.haml | 2 +- app/views/admin/variant_overrides/_show_more.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/variant_overrides/_filters.html.haml b/app/views/admin/variant_overrides/_filters.html.haml index 7330c26799..c9f3a27b32 100644 --- a/app/views/admin/variant_overrides/_filters.html.haml +++ b/app/views/admin/variant_overrides/_filters.html.haml @@ -1,4 +1,4 @@ -.filters.sixteen.columns.alpha +.filters.sixteen.columns.alpha.omega .filter.four.columns.alpha %label{ :for => 'query', ng: {class: '{disabled: !hub_id}'} }=t('admin.quick_search') %br diff --git a/app/views/admin/variant_overrides/_show_more.html.haml b/app/views/admin/variant_overrides/_show_more.html.haml index ad943c853e..8d60593ddc 100644 --- a/app/views/admin/variant_overrides/_show_more.html.haml +++ b/app/views/admin/variant_overrides/_show_more.html.haml @@ -1,4 +1,4 @@ -.sixteen.columns.alpha.omega.text-center{ ng: {show: 'productLimit < filteredProducts.length'}} +.text-center %input{ type: 'button', value: 'Show More', ng: { click: 'productLimit = productLimit + 10' } } or %input{ type: 'button', value: "Show All ({{ filteredProducts.length - productLimit }} More)", ng: { click: 'productLimit = filteredProducts.length' } }