Skip to content

Commit

Permalink
Right-align the per-page menu
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Oct 3, 2016
1 parent 4a2f660 commit e7a65b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/catalog/_per_page_widget.html.erb
Expand Up @@ -4,7 +4,7 @@
<button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown">
<%= t(:'blacklight.search.per_page.button_label', :count => current_per_page) %> <span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
<ul class="dropdown-menu dropdown-menu-right" role="menu">
<%- per_page_options_for_select.each do |(label, count)| %>
<li class="dropdown-item"><%= link_to(label, url_for(search_state.params_for_search(per_page: count))) %></li>
<%- end -%>
Expand Down

0 comments on commit e7a65b0

Please sign in to comment.