diff --git a/app/assets/javascripts/protocols/steps.js.erb b/app/assets/javascripts/protocols/steps.js.erb index 6ed8373fe..9f883a5d5 100644 --- a/app/assets/javascripts/protocols/steps.js.erb +++ b/app/assets/javascripts/protocols/steps.js.erb @@ -206,10 +206,9 @@ function toggleButtons(show) { if (show) { - $("[data-action='new-step']:first").show(); + $("[data-action='new-step']").show(); $("[data-action='edit-step']").show(); if ($('#steps .step').length > 0) { - $("[data-action='new-step']:last").show(); $(".expand-all-steps").show(); } } else { diff --git a/app/assets/stylesheets/my_modules/protocols/index.scss b/app/assets/stylesheets/my_modules/protocols/index.scss index ab64d27c8..c0b873e47 100644 --- a/app/assets/stylesheets/my_modules/protocols/index.scss +++ b/app/assets/stylesheets/my_modules/protocols/index.scss @@ -116,10 +116,6 @@ padding-right: 5px; } } - - .dropdown { - margin-right: 5px; - } } } } diff --git a/app/views/my_modules/protocols.html.erb b/app/views/my_modules/protocols.html.erb index 10cdaaa6a..2080aca1c 100644 --- a/app/views/my_modules/protocols.html.erb +++ b/app/views/my_modules/protocols.html.erb @@ -93,8 +93,7 @@ <%= render partial: "my_modules/protocols/protocol_status_bar" %> -