Fix dl accessibility violations on stats dashboard

This commit is contained in:
Claudio Ortolina
2026-04-15 14:16:24 +01:00
parent 4194fb8b6d
commit 851cb36858
3 changed files with 10 additions and 12 deletions
@@ -522,7 +522,7 @@ defmodule MusicLibraryWeb.StatsLive.Index do
~H"""
<.section>
<:title>{gettext("Records")}</:title>
<dl class="mt-5 grid grid-cols-3 gap-5 sm:grid-cols-5 min-h-35">
<div class="mt-5 grid grid-cols-3 gap-5 sm:grid-cols-5 min-h-35">
<.album_preview
record={@latest_record}
title={gettext("Latest purchase")}
@@ -540,7 +540,7 @@ defmodule MusicLibraryWeb.StatsLive.Index do
tooltip={@scrobble_count}
path={~p"/scrobbled-tracks"}
/>
</dl>
</div>
</.section>
"""
end