From 04e13e113638dc6d80bd59e7c9d163aa9952c8bb Mon Sep 17 00:00:00 2001 From: luisramos0 Date: Mon, 29 Jul 2019 19:45:55 +0100 Subject: [PATCH] Change css styling from id to class to make rubocop happy. Keeping id name as it may be needed in spree autocomplete css or js code --- .../stylesheets/admin/pages/subscription_line_items.css.scss | 2 +- app/views/admin/subscriptions/_autocomplete.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/admin/pages/subscription_line_items.css.scss b/app/assets/stylesheets/admin/pages/subscription_line_items.css.scss index 8e4293ef42..80a29448bf 100644 --- a/app/assets/stylesheets/admin/pages/subscription_line_items.css.scss +++ b/app/assets/stylesheets/admin/pages/subscription_line_items.css.scss @@ -1,4 +1,4 @@ -#add-line-item { +.add-line-item { fieldset { .vertical-align-top { vertical-align: top; diff --git a/app/views/admin/subscriptions/_autocomplete.html.haml b/app/views/admin/subscriptions/_autocomplete.html.haml index 43aa03cdca..789f27104c 100644 --- a/app/views/admin/subscriptions/_autocomplete.html.haml +++ b/app/views/admin/subscriptions/_autocomplete.html.haml @@ -1,4 +1,4 @@ -#add-line-item +#add-line-item.add-line-item %fieldset %legend{ align: 'center'}= t(:products) %table.no-borders.layout