diff --git a/app/assets/stylesheets/hyku.scss b/app/assets/stylesheets/hyku.scss index 8e05f2782..487a88cf9 100644 --- a/app/assets/stylesheets/hyku.scss +++ b/app/assets/stylesheets/hyku.scss @@ -543,11 +543,6 @@ body.public-facing { width: 100%; } -// align featured collections with featured works -#featured_collections { - margin-top: -5px; -} - .mb-30 { margin-bottom: 30px; } @@ -740,10 +735,6 @@ tr[data-feature="use-iiif-print"] { // Featured collection #featured_collections { - display: flex; - flex-wrap: wrap; - justify-content: left; - h3 { font-size: inherit; } diff --git a/app/views/hyrax/homepage/_explore_collections.html.erb b/app/views/hyrax/homepage/_explore_collections.html.erb index 11c580800..8fcca952c 100644 --- a/app/views/hyrax/homepage/_explore_collections.html.erb +++ b/app/views/hyrax/homepage/_explore_collections.html.erb @@ -2,12 +2,12 @@ <% featured_collection = f.object.presenter %> - +
<%= link_to [hyrax, featured_collection] do %> <%= render_thumbnail_tag(featured_collection, - { class: 'img-fluid d-none d-sm-block file_listing_thumbnail', alt: "#{featured_collection.title_or_label} #{ t('hyrax.homepage.admin_sets.thumbnail')}" }, + { class: 'img-fluid d-none d-sm-block file_listing_thumbnail mt-0', alt: "#{featured_collection.title_or_label} #{ t('hyrax.homepage.admin_sets.thumbnail')}" }, {suppress_link: true} ) %> <% end %> diff --git a/app/views/hyrax/homepage/_home_content.html.erb b/app/views/hyrax/homepage/_home_content.html.erb index a5e32f42b..9f0db34e2 100644 --- a/app/views/hyrax/homepage/_home_content.html.erb +++ b/app/views/hyrax/homepage/_home_content.html.erb @@ -5,7 +5,7 @@ also, to render featured collections %> -