Fix alignment and margins

This commit is contained in:
Claudio Ortolina
2025-09-07 14:38:42 +03:00
parent 7ac517a025
commit 0b1d7fdfda
@@ -38,10 +38,10 @@ defmodule MusicLibraryWeb.NotesComponent do
<.sheet <.sheet
id={@sheet_id} id={@sheet_id}
placement="right" placement="right"
class="min-w-xs max-w-lg sm:min-w-lg lg:min-w-2xl py-16" class="w-md sm:min-w-lg lg:min-w-2xl py-16"
> >
<.tabs> <.tabs>
<.tabs_list variant="segmented" class="w-32" active_tab={@mode}> <.tabs_list variant="segmented" class="w-48 mx-auto md:mx-0" active_tab={@mode}>
<:tab name="read" phx-click="set_mode" phx-value-mode="read" phx-target={@myself}> <:tab name="read" phx-click="set_mode" phx-value-mode="read" phx-target={@myself}>
{gettext("Read")} {gettext("Read")}
</:tab> </:tab>