mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
align actions column left for better usability
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user