Uniform backgrounds in stats cards
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
<ul
|
||||
id="scrobble-activity-albums"
|
||||
role="list"
|
||||
class="mt-5 rounded-md px-4 py-5 shadow-sm"
|
||||
class="mt-5 p-6 bg-white dark:bg-zinc-800 rounded-md shadow-sm"
|
||||
phx-update="stream"
|
||||
>
|
||||
<li :for={{id, album} <- @streams.recent_albums} id={id} class="group">
|
||||
@@ -475,7 +475,7 @@
|
||||
<.date_picker size="xs" field={f[:current_date]} />
|
||||
</.form>
|
||||
</div>
|
||||
<div class="rounded-md shadow-sm">
|
||||
<div class="bg-white dark:bg-zinc-800 rounded-md shadow-sm">
|
||||
<.records_on_this_day
|
||||
current_date={@current_date}
|
||||
records={@streams.records_on_this_day}
|
||||
|
||||
@@ -101,7 +101,7 @@ defmodule MusicLibraryWeb.StatsLive.TopAlbums do
|
||||
|
||||
defp top_albums_by_period(assigns) do
|
||||
~H"""
|
||||
<div class="mt-4 p-4 rounded-md shadow-sm">
|
||||
<div class="mt-4 p-4 bg-white dark:bg-zinc-800 rounded-md shadow-sm">
|
||||
<div class="space-y-2">
|
||||
<div
|
||||
:for={album <- @albums}
|
||||
|
||||
@@ -93,7 +93,7 @@ defmodule MusicLibraryWeb.StatsLive.TopArtists do
|
||||
|
||||
def top_artists_by_period(assigns) do
|
||||
~H"""
|
||||
<div class="mt-4 p-4 rounded-md shadow-sm">
|
||||
<div class="mt-4 p-4 bg-white dark:bg-zinc-800 rounded-md shadow-sm">
|
||||
<div class="space-y-2">
|
||||
<div
|
||||
:for={artist <- @artists}
|
||||
|
||||
Reference in New Issue
Block a user