Skip to content

Commit

Permalink
move manager, depositor, viewers to just below where they are selected.
Browse files Browse the repository at this point in the history
  • Loading branch information
blancoj committed Dec 7, 2017
1 parent 3f997ea commit 5021b26
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion app/assets/stylesheets/hyrax/dashboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,19 @@ body.dashboard {
}
}

/* This is needed in Chrome for the admin/admin_sets edit view to render the participants tab
/* This is needed in Chrome for the admin/admin_sets edit view AND the collection
* sharing edit view to render the participants tab
* Without this the contents of that tab flow off the right-hand side of the screen
* (The other containers on that page have `float: left` except for the fieldset.)
*/
.admin-set-participants {
float: left;
}

.collection-sharing {
float: left;
}

.main-header {
margin-bottom: 0;
margin-top: 0;
Expand Down
2 changes: 1 addition & 1 deletion app/views/hyrax/dashboard/collections/_form_share.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<% end %>
<% end %>

<fieldset>
<fieldset class="collection-sharing">
<legend><%= t(".current_shared") %></legend>
<%= render 'form_share_table', access: 'managers', filter: :manage? %>
<%= render 'form_share_table', access: 'depositors', filter: :deposit? %>
Expand Down

0 comments on commit 5021b26

Please sign in to comment.