From 0b1d7fdfda333fabb8015fd320bf10ab724e3de2 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Sun, 7 Sep 2025 14:38:42 +0300 Subject: [PATCH] Fix alignment and margins --- lib/music_library_web/components/notes_component.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/music_library_web/components/notes_component.ex b/lib/music_library_web/components/notes_component.ex index fbc14a88..17bbf2f5 100644 --- a/lib/music_library_web/components/notes_component.ex +++ b/lib/music_library_web/components/notes_component.ex @@ -38,10 +38,10 @@ defmodule MusicLibraryWeb.NotesComponent do <.sheet id={@sheet_id} 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_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}> {gettext("Read")}