Skip to content

Commit

Permalink
Improve layout when there is no thumbnail
Browse files Browse the repository at this point in the history
  • Loading branch information
dlpierce committed Aug 13, 2024
1 parent 6d84a94 commit 0c510dd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/views/catalog/_thumbnail_list_data_set.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<% if (tag = document_presenter(document)&.thumbnail&.thumbnail_tag) %>
<div class="col-md-3">
<div class="list-thumbnail">
<%= tag %>
</div>
</div>
<% end %>

0 comments on commit 0c510dd

Please sign in to comment.