From e4127358c324cb2ba72972a0763cfbbe530a1626 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 19 Sep 2013 12:12:39 +1000 Subject: [PATCH] Rearrange admin payment methods table (BH#73) --- app/assets/stylesheets/admin/openfoodweb.css.scss | 9 +++++++++ .../index/rearrange_cols.html.haml.deface | 9 +++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/admin/openfoodweb.css.scss b/app/assets/stylesheets/admin/openfoodweb.css.scss index c700489208..442d280581 100644 --- a/app/assets/stylesheets/admin/openfoodweb.css.scss +++ b/app/assets/stylesheets/admin/openfoodweb.css.scss @@ -79,3 +79,12 @@ form.order_cycle { margin-top: 3em; } } + +table#listing_payment_methods { + table-layout: fixed; + + td { + padding: 15px 5px; + word-wrap: break-word; + } +} diff --git a/app/overrides/spree/admin/payment_methods/index/rearrange_cols.html.haml.deface b/app/overrides/spree/admin/payment_methods/index/rearrange_cols.html.haml.deface index d8620b8df1..980447b052 100644 --- a/app/overrides/spree/admin/payment_methods/index/rearrange_cols.html.haml.deface +++ b/app/overrides/spree/admin/payment_methods/index/rearrange_cols.html.haml.deface @@ -1,4 +1,9 @@ / replace_contents "table#listing_payment_methods colgroup" -%col{style: "width: 12%"} --# There are other columns, but they seem to sort themselves out :) \ No newline at end of file +%col{style: "width: 14%"} +%col{style: "width: 13%"} +%col{style: "width: 32%"} +%col{style: "width: 14%"} +%col{style: "width: 8%"} +%col{style: "width: 8%"} +%col{style: "width: 11%"} \ No newline at end of file