mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-18 04:39:14 +00:00
Put distributors column second, no need to explicitly set column widths, so remove this
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
/ insert_top "[data-hook='admin_shipping_methods_index_rows']"
|
||||
/ insert_after "[data-hook='admin_shipping_methods_index_rows'] td:first-child"
|
||||
|
||||
%td.align-center
|
||||
= enterprises_to_names shipping_method.distributors
|
||||
- shipping_method.distributors.each do |distributor|
|
||||
= distributor.name
|
||||
%br/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/ insert_top "[data-hook='admin_shipping_methods_index_headers']"
|
||||
/ insert_after "[data-hook='admin_shipping_methods_index_headers'] th:first-child"
|
||||
|
||||
%th
|
||||
Distributors
|
||||
|
||||
@@ -1,4 +1 @@
|
||||
/ replace_contents "table#listing_shipping_methods colgroup"
|
||||
|
||||
%col{style: "width: 12%"}
|
||||
-# There are other columns, but they seem to sort themselves out :)
|
||||
Reference in New Issue
Block a user