Improve display of single album page

This commit is contained in:
Claudio Ortolina
2024-09-23 14:09:21 +01:00
parent 878a7d7326
commit e666b247e1
2 changed files with 16 additions and 15 deletions
@@ -427,12 +427,12 @@ defmodule MusicLibraryWeb.CoreComponents do
def header(assigns) do
~H"""
<header class={[@actions != [] && "flex items-center justify-between gap-6", @class]}>
<header class={[@actions != [] && "flex items-center justify-between gap-6 mb-2", @class]}>
<div>
<h1 class="text-lg font-semibold leading-8 text-zinc-800">
<%= render_slot(@inner_block) %>
</h1>
<p :if={@subtitle != []} class="mt-2 text-sm leading-6 text-zinc-600">
<p :if={@subtitle != []} class="mt-2 text-base leading-6 text-zinc-600">
<%= render_slot(@subtitle) %>
</p>
</div>