Skip to content

Commit

Permalink
Move the facet index navigation control inside the modal body and mak…
Browse files Browse the repository at this point in the history
…e the facet modal a little bigger for a better display experience
  • Loading branch information
cbeer committed Apr 3, 2018
1 parent 79eae87 commit 186eebe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions app/views/catalog/facet.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
<button type="button" class="blacklight-modal-close close" data-dismiss="modal" aria-label="<%= t('blacklight.modal.close') %>">
<span aria-hidden="true">&times;</span>
</button>
<%= render partial: 'facet_index_navigation' if @facet.index_range && @display_facet.index? %>

</div>

<div class="modal-body">
<%= render partial: 'facet_index_navigation' if @facet.index_range && @display_facet.index? %>

<div class="facet-extended-list">
<%= render_facet_limit(@display_facet, layout: false) %>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/shared/_modal.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div id="blacklight-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="modal menu" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
</div>
</div>
Expand Down

0 comments on commit 186eebe

Please sign in to comment.