From f802001ad74461bd19b245f332dccf803f6c8403 Mon Sep 17 00:00:00 2001 From: Kirk Wang Date: Tue, 2 Jan 2024 15:49:24 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Add=20space=20between=20thumbnai?= =?UTF-8?q?l=20and=20title?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dashboard/collections/_show_document_list_row.html.erb | 2 +- app/views/hyrax/dashboard/works/_list_works.html.erb | 2 +- app/views/hyrax/my/works/_list_works.html.erb | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb b/app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb index 2df61e46f..4b1bdeea9 100644 --- a/app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb +++ b/app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb @@ -8,7 +8,7 @@
- <%= link_to [main_app, document], "class" => "media-left", "aria-hidden" => "true" do %> + <%= link_to [main_app, document], "class" => "mr-2", "aria-hidden" => "true" do %> <%= document_presenter(document)&.thumbnail&.thumbnail_tag( { class: "d-none d-md-block file_listing_thumbnail", alt: document.title_or_label }, { suppress_link: true } ) %> diff --git a/app/views/hyrax/dashboard/works/_list_works.html.erb b/app/views/hyrax/dashboard/works/_list_works.html.erb index 275a3031a..1b4c07560 100644 --- a/app/views/hyrax/dashboard/works/_list_works.html.erb +++ b/app/views/hyrax/dashboard/works/_list_works.html.erb @@ -7,7 +7,7 @@
- <%= link_to [main_app, document], class: 'media-left' do %> + <%= link_to [main_app, document], class: 'mr-2' do %> <%# OVERRIDE begin %> <%= document_presenter(document)&.thumbnail&.thumbnail_tag( { class: 'd-none d-md-block file_listing_thumbnail', alt: block_for(name: 'default_work_image_text') || "#{document.title_or_label} #{t('hyrax.homepage.admin_sets.thumbnail')}" }, diff --git a/app/views/hyrax/my/works/_list_works.html.erb b/app/views/hyrax/my/works/_list_works.html.erb index d2a422778..5eca59eda 100644 --- a/app/views/hyrax/my/works/_list_works.html.erb +++ b/app/views/hyrax/my/works/_list_works.html.erb @@ -10,8 +10,8 @@
<%# OVERRIDE begin %> - <%= link_to [main_app, document], class: 'media-left' do %> - <%= render_thumbnail_tag document, { class: 'hidden-xs file_listing_thumbnail', alt: block_for(name: 'default_work_image_text') || "#{document.title_or_label} #{t('hyrax.homepage.admin_sets.thumbnail')}" }, { suppress_link: true } %> + <%= link_to [main_app, document], class: 'mr-2' do %> + <%= render_thumbnail_tag document, { class: 'd-none d-md-block file_listing_thumbnail', alt: block_for(name: 'default_work_image_text') || "#{document.title_or_label} #{t('hyrax.homepage.admin_sets.thumbnail')}" }, { suppress_link: true } %> <% end %> <%# OVERRIDE end %>