From 784f74f46683c1df9e919213638331f2b662810b Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 6 Feb 2024 14:51:13 +1100 Subject: [PATCH] Align buttons to the right --- app/views/admin/products_v3/_edit_image.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/products_v3/_edit_image.html.haml b/app/views/admin/products_v3/_edit_image.html.haml index b4f45ace5d..5ef826c268 100644 --- a/app/views/admin/products_v3/_edit_image.html.haml +++ b/app/views/admin/products_v3/_edit_image.html.haml @@ -9,7 +9,7 @@ %input{ type: :hidden, name: :return_url, value: return_url} = f.hidden_field :viewable_id, value: product.id - %p + .modal-actions.justify-end %input{ class: "secondary", type: 'button', value: t('.close'), "data-action": "click->modal#close" } -# label.button provides a handy shortcut to open the file selector on click. Unfortunately this trick isn't keyboard accessible though.. = f.label :attachment, t(".upload"), class: "button primary icon-upload-alt"