Simplify record sets page structure (no title, better margins)
This commit is contained in:
@@ -1,12 +1,7 @@
|
||||
<Layouts.app flash={@flash} current_section={@current_section} socket={@socket}>
|
||||
<header class="mb-6">
|
||||
<div class="flex items-center justify-between">
|
||||
<div>
|
||||
<h1 class="text-2xl font-bold text-zinc-900 dark:text-zinc-100">
|
||||
{gettext("Record Sets")}
|
||||
</h1>
|
||||
</div>
|
||||
<div>
|
||||
<div class="flex items-center justify-between gap-6 mb-2 mt-2">
|
||||
<.search_form query={@list_params.query} />
|
||||
<.button
|
||||
variant="solid"
|
||||
size="sm"
|
||||
@@ -16,11 +11,8 @@
|
||||
{gettext("New Set")}
|
||||
</.button>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<.search_form query={@list_params.query} />
|
||||
|
||||
<div class="flex items-end justify-between gap-6 mt-4">
|
||||
<.button_group>
|
||||
<.button
|
||||
|
||||
@@ -1745,7 +1745,6 @@ msgid "No records found"
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/live/record_set_live/index.ex
|
||||
#: lib/music_library_web/live/record_set_live/index.html.heex
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Record Sets"
|
||||
msgstr ""
|
||||
|
||||
@@ -1745,7 +1745,6 @@ msgid "No records found"
|
||||
msgstr ""
|
||||
|
||||
#: lib/music_library_web/live/record_set_live/index.ex
|
||||
#: lib/music_library_web/live/record_set_live/index.html.heex
|
||||
#, elixir-autogen, elixir-format, fuzzy
|
||||
msgid "Record Sets"
|
||||
msgstr ""
|
||||
|
||||
@@ -12,7 +12,6 @@ defmodule MusicLibraryWeb.RecordSetLive.IndexTest do
|
||||
|
||||
conn
|
||||
|> visit(~p"/record-sets")
|
||||
|> assert_has("h1", text: "Record Sets")
|
||||
|> assert_has("h2", text: "My Favorites")
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user