From d417b5e282b54b3698844c502f9f41da47185fde Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Mon, 8 Sep 2025 10:47:38 +0300 Subject: [PATCH] Fix textarea height --- lib/music_library_web/components/notes_component.ex | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/music_library_web/components/notes_component.ex b/lib/music_library_web/components/notes_component.ex index f9e9d833..d0940f98 100644 --- a/lib/music_library_web/components/notes_component.ex +++ b/lib/music_library_web/components/notes_component.ex @@ -63,7 +63,10 @@ defmodule MusicLibraryWeb.NotesComponent do phx-auto-recover="recover_form" phx-submit="save" > - <.textarea class="w-full h-96 font-mono text-sm/4" field={@form[:content]} /> + <.textarea + class="w-full min-h-128 md:min-h-164 overflow-scroll font-mono text-sm/4" + field={@form[:content]} + /> <:actions>