Skip to content

Commit

Permalink
Fix search result count and image aspects
Browse files Browse the repository at this point in the history
  • Loading branch information
cguess committed Sep 30, 2024
1 parent b5ff874 commit 8da7c81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
data-media-vault--archive-caption-collapse-mode-value="<%# caption_is_collapsable ? 'collapsed' : 'static' %>"
>
<div class="archive-item__metadatum__label archive-item__inner flex gap-4 flex-row">
<img class="w-24 h-24 rounded-full" src="<%= media_vault_google_image_link_url(search_result.id) %>" alt="Rounded avatar">
<img class="w-24 h-24 rounded-full object-cover" src="<%= media_vault_google_image_link_url(search_result.id) %>" alt="Rounded avatar">
<div class="flex flex-col gap-2">
<div class="flex flex-row gap-4">
<div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/media_vault/search/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</div>
<div class="pl-4">
<h2 class="search-results__title">
<%= pluralize(@post_results.length, "matching Fact Check Explorer result") %> found:
<%= pluralize(@google_results.length, "matching Fact Check Explorer result") %> found:
</h2>
<div class="search-results search-results--posts archive-items archive-items--boxed-items archive-items--masonry media">
<% @google_results.each do |post| %>
Expand Down

0 comments on commit 8da7c81

Please sign in to comment.