diff --git a/app/views/albums/show.html.erb b/app/views/albums/show.html.erb index 56f1c29e..1d67764d 100644 --- a/app/views/albums/show.html.erb +++ b/app/views/albums/show.html.erb @@ -1,7 +1,11 @@ -

<%= @album.title %>

-

<%= @album.artist.name %>

-<%= image_tag @album.cover.representation(resize_to_limit: [400, 400]) %> +
+

<%= @album.title %>

+

<%= @album.artist.name %>

+
+<%= image_tag @album.cover.representation(resize_to_limit: [400, 400]), class: 'w-full' %> + +

Tracklist

    <% @album.tracks.each_with_index do |track, index| %>
  1. <%= index + 1 %>. <%= track.title %> <%= text_link_to 'Edit', edit_artist_album_track_url(track.artist, track.album, track) %>