From b1f7ffc26c30b357dd1c7a1cd10451cb045b2ed0 Mon Sep 17 00:00:00 2001 From: Vladimir Dementyev Date: Tue, 10 Oct 2023 08:16:11 -0700 Subject: [PATCH] fix: cover styles --- app/views/albums/show.html.erb | 4 ++-- app/views/artists/show.html.erb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/albums/show.html.erb b/app/views/albums/show.html.erb index 4319b2f..3898b25 100644 --- a/app/views/albums/show.html.erb +++ b/app/views/albums/show.html.erb @@ -4,8 +4,8 @@ <% end %>
-
- <%= image_tag @album.cover_url %> +
+ <%= image_tag @album.cover_url, class: "w-full h-full object-cover" %>
diff --git a/app/views/artists/show.html.erb b/app/views/artists/show.html.erb index 5290a5f..5421ecf 100644 --- a/app/views/artists/show.html.erb +++ b/app/views/artists/show.html.erb @@ -6,8 +6,8 @@
-
- <%= image_tag @artist.cover_url %> +
+ <%= image_tag @artist.cover_url, class: "w-full h-full object-cover" %>