From f4c7a0b2a25f53bec02f1e6f7586b9af5f486db0 Mon Sep 17 00:00:00 2001 From: Tsara Sudrajat Date: Fri, 30 Oct 2020 11:29:38 +0700 Subject: [PATCH] Align center order adjustment and order total title --- app/views/spree/admin/orders/_form.html.haml | 2 +- app/views/spree/admin/orders/_form/_adjustments.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/spree/admin/orders/_form.html.haml b/app/views/spree/admin/orders/_form.html.haml index a14b308ba5..3a0b74b56e 100644 --- a/app/views/spree/admin/orders/_form.html.haml +++ b/app/views/spree/admin/orders/_form.html.haml @@ -9,7 +9,7 @@ - if order.line_items.exists? %fieldset#order-total.no-border-bottom{"data-hook" => "order_details_total"} - %legend= t(".order_total") + %legend{ align: 'center' }= t(".order_total") %span.order-total= order.display_total = form_for @order, url: admin_order_url(@order), method: :put do |f| diff --git a/app/views/spree/admin/orders/_form/_adjustments.html.haml b/app/views/spree/admin/orders/_form/_adjustments.html.haml index ad9559d63d..5f3e9f215e 100644 --- a/app/views/spree/admin/orders/_form/_adjustments.html.haml +++ b/app/views/spree/admin/orders/_form/_adjustments.html.haml @@ -1,6 +1,6 @@ - if adjustments.present? %fieldset.no-border-bottom - %legend= title + %legend{ align: 'center' }= title %table> %thead %tr