From e58324f1491709d9f73d1402186586c4810b4eb3 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Thu, 14 Nov 2024 16:33:24 +0000 Subject: Fixed the positioning of the three featured cards on index page --- app/views/pdfresources/_pdfresource.html.erb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'app/views/pdfresources/_pdfresource.html.erb') diff --git a/app/views/pdfresources/_pdfresource.html.erb b/app/views/pdfresources/_pdfresource.html.erb index 8c96080..7ce1807 100644 --- a/app/views/pdfresources/_pdfresource.html.erb +++ b/app/views/pdfresources/_pdfresource.html.erb @@ -1,6 +1,7 @@ -
-
- <%= image_tag url_for(pdfresource.thumbnails.first), size: "500x100", class: "rounded-t-lg" %> +
+ +
+ <%= image_tag url_for(pdfresource.thumbnails.first), class: "w-full h-full object-cover rounded-t-lg" %>

-- cgit v1.2.3