diff --git a/app/overrides/add_capture_order_shortcut.rb b/app/overrides/add_capture_order_shortcut.rb index b27dd95783..0fef9db5d4 100644 --- a/app/overrides/add_capture_order_shortcut.rb +++ b/app/overrides/add_capture_order_shortcut.rb @@ -20,4 +20,9 @@ Deface::Override.new(:virtual_path => "spree/admin/orders/index", :set_attributes => "#listing_orders colgroup col:last-child", :attributes => {:style => "width: 12%"} #was 8% ) - +#And align actions column (not spree standard, but looks better IMO) +Deface::Override.new(:virtual_path => "spree/admin/orders/index", + :name => "add_capture_order_shortcut_align", + :set_attributes => "[data-hook='admin_orders_index_row_actions']", + :attributes => {:class => "actions", :style => "text-align:left;"} #removes 'align-center' class + )