Fix more margins

This commit is contained in:
Claudio Ortolina
2026-03-15 21:09:52 +00:00
parent 805f93cd3c
commit ac2758aabf
2 changed files with 4 additions and 1 deletions
@@ -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"""
<div class="mt-4">
<div class={@container_class}>
<header
:if={@title}
class="flex items-baseline justify-start"
@@ -397,6 +397,7 @@ defmodule MusicLibraryWeb.ArtistLive.Show do
records_count={@collection_records_count}
record_show_path={fn record -> ~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}>