diff --git a/lib/music_library_web/components/record_components.ex b/lib/music_library_web/components/record_components.ex index 25b825a8..8c82c796 100644 --- a/lib/music_library_web/components/record_components.ex +++ b/lib/music_library_web/components/record_components.ex @@ -228,10 +228,11 @@ defmodule MusicLibraryWeb.RecordComponents do attr :record_edit_path, :any, required: true attr :display_artist_names, :boolean, default: false attr :density, :atom, values: [:low, :high], default: :low + attr :container_class, :string, default: "mt-6" def record_grid(assigns) do ~H""" -
+
~p"/collection/#{record}" end} record_edit_path={fn record -> ~p"/collection/#{record}/show/edit" end} + container_class="mt-4" /> <.separator :if={@collection_records_count > 0 && @wishlist_records_count > 0} @@ -410,6 +411,7 @@ defmodule MusicLibraryWeb.ArtistLive.Show do records_count={@wishlist_records_count} record_show_path={fn record -> ~p"/wishlist/#{record}" end} record_edit_path={fn record -> ~p"/wishlist/#{record}/show/edit" end} + container_class="mt-4" /> <.async_result :let={similar_artists} assign={@similar_artists}>