diff --git a/app/assets/stylesheets/hyrax/_work-show.scss b/app/assets/stylesheets/hyrax/_work-show.scss index b8d8b01b5c..3d6235ac33 100644 --- a/app/assets/stylesheets/hyrax/_work-show.scss +++ b/app/assets/stylesheets/hyrax/_work-show.scss @@ -116,6 +116,21 @@ ul.tabular { background: #fff; border-color: #e0e0e0; + & > .btn { + padding: 0; + border: 0; + } + + .btn-primary { + margin-bottom: 1rem; + } + + .workflow-comments { + label { + font-weight: bold; + } + } + .card-header { background-color: #e6ab5f; color: #ffffff; @@ -128,8 +143,9 @@ ul.tabular { .card-body { background-color: #f2f1eb; } -} -.workflow-actions { - background-color: #f8f8f8; + .workflow-actions { + background-color: #f8f8f8; + padding: 1rem; + } } diff --git a/app/views/hyrax/base/_workflow_actions.html.erb b/app/views/hyrax/base/_workflow_actions.html.erb index f19cf9e91f..068e1128cc 100644 --- a/app/views/hyrax/base/_workflow_actions.html.erb +++ b/app/views/hyrax/base/_workflow_actions.html.erb @@ -6,33 +6,35 @@ <%= form_tag main_app.hyrax_workflow_action_path(presenter), method: :put do %>
-
-

<%= t('.actions') %>

+
+
+

<%= t('.actions') %>

- <% presenter.workflow.actions.each do |key, label| %> -
- -
- <% end %> -
-
-
- - + <% presenter.workflow.actions.each do |key, label| %> +
+ +
+ <% end %>
+
+
+ + +
- + -

<%= t('.previous_comments') %>

-
- <% presenter.workflow.comments.each do |comment| %> -
<%= comment.name_of_commentor %>
-
<%= comment.comment %>
- <% end %> -
+

<%= t('.previous_comments') %>

+
+ <% presenter.workflow.comments.each do |comment| %> +
<%= comment.name_of_commentor %>
+
<%= comment.comment %>
+ <% end %> +
+
<% end %>