diff --git a/lib/music_library_web/live/stats_live/index.html.heex b/lib/music_library_web/live/stats_live/index.html.heex index 97ac5276..0a1c82a5 100644 --- a/lib/music_library_web/live/stats_live/index.html.heex +++ b/lib/music_library_web/live/stats_live/index.html.heex @@ -78,37 +78,38 @@ aria-hidden="true" > -
- {track.title} -
-
+
+
+ {track.title} +

<%= track.artist.name %>

<%= track.title %>

-
- - -
- - - <.focus_wrap - id={"actions-#{track.scrobbled_at_uts}"} - class={[ - "hidden pointer-events-auto absolute right-0 z-10 mt-2 w-48 origin-top-right rounded-md bg-white dark:bg-zinc-800 py-2 shadow-lg ring-1 ring-zinc-900/5 focus:outline-none" - ]} - role="menu" - aria-orientation="vertical" - aria-labelledby="options-menu-0-button" + <.focus_wrap + id={"actions-#{track.scrobbled_at_uts}"} + class={[ + "hidden pointer-events-auto absolute right-0 z-10 mt-2 w-48 origin-top-right rounded-md bg-white dark:bg-zinc-800 py-2 shadow-lg ring-1 ring-zinc-900/5 focus:outline-none" + ]} + role="menu" + aria-orientation="vertical" + aria-labelledby="options-menu-0-button" + tabindex="-1" + > + <.link + :for={format <- Records.Record.formats()} + class="block px-3 py-1 text-sm leading-6 text-zinc-900 dark:text-zinc-400 hover:bg-zinc-50 dark:hover:text-zinc-300 dark:hover:bg-zinc-700" + role="menuitem" tabindex="-1" + id={"actions-#{track.scrobbled_at_uts}-#{format}-import"} + phx-click={ + JS.push("import", + value: %{id: track.album.musicbrainz_id, format: format}, + page_loading: true + ) + } > - <.link - :for={format <- Records.Record.formats()} - class="block px-3 py-1 text-sm leading-6 text-zinc-900 dark:text-zinc-400 hover:bg-zinc-50 dark:hover:text-zinc-300 dark:hover:bg-zinc-700" - role="menuitem" - tabindex="-1" - id={"actions-#{track.scrobbled_at_uts}-#{format}-import"} - phx-click={ - JS.push("import", - value: %{id: track.album.musicbrainz_id, format: format}, - page_loading: true - ) - } - > - <%= Records.Record.format_long_label(format) %> - - -
+ <%= Records.Record.format_long_label(format) %> + +
diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot index c35b334a..93de6d72 100644 --- a/priv/gettext/default.pot +++ b/priv/gettext/default.pot @@ -178,7 +178,7 @@ msgstr "" #: lib/music_library_web/live/record_live/import_component.ex:76 #: lib/music_library_web/live/record_live/index.html.heex:89 -#: lib/music_library_web/live/stats_live/index.html.heex:108 +#: lib/music_library_web/live/stats_live/index.html.heex:109 #: lib/music_library_web/live/wishlist_live/index.html.heex:89 #, elixir-autogen, elixir-format msgid "Open options"