Fix "clear all" button spacing in inventory

This commit is contained in:
Matt-Yorkley
2019-04-01 12:18:19 +01:00
parent 4a0e5a42a3
commit 668a37f564

View File

@@ -3,7 +3,6 @@
%label{for: 'query', ng: {class: '{disabled: !hub_id}'} }=t('admin.quick_search')
%br
%input.fullwidth{type: "text", id: 'query', ng: {model: 'query', disabled: '!hub_id'} }
.one.columns  
.filter_select.three.columns
%label{for: 'hub_id', ng: {bind: "hub_id ? '#{t('admin.shop')}' : '#{t('admin.variant_overrides.index.select_a_shop')}'" } }
%br
@@ -25,7 +24,7 @@
-# %label{ :for => 'order_cycle_filter' }Order Cycle
-# %br
-# %select{ :class => "three columns alpha", :id => 'order_cycle_filter', 'select2-min-search' => 5, 'ng-model' => 'orderCycleFilter', 'ng-options' => 'oc.id as oc.name for oc in orderCycles', 'confirm-change' => "confirmRefresh()", 'ng-change' => 'refreshData()'}
.filter_clear.two.columns.omega
.filter_clear.three.columns.omega
%label{ :for => 'clear_all_filters' }
%br
%input.red.fullwidth{ :type => 'button', :id => 'clear_all_filters', :value => "#{t('admin.clear_all')}", ng: { click: "resetSelectFilters()", disabled: '!hub_id'} }