Show notes editor larger and monospace

This commit is contained in:
Claudio Ortolina
2025-09-05 22:06:06 +03:00
parent 94f381e3c3
commit b722b1922e
@@ -24,7 +24,7 @@ defmodule MusicLibraryWeb.NotesComponent do
<.sheet <.sheet
id={@sheet_id} id={@sheet_id}
placement="right" placement="right"
class="min-w-xs sm:min-w-sm" class="min-w-xs sm:min-w-lg lg:min-w-2xl"
> >
<.simple_form <.simple_form
for={@form} for={@form}
@@ -34,7 +34,7 @@ defmodule MusicLibraryWeb.NotesComponent do
phx-auto-recover="recover_form" phx-auto-recover="recover_form"
phx-submit="save" phx-submit="save"
> >
<.textarea class="w-full h-96" field={@form[:notes]} label={gettext("Notes")} /> <.textarea class="w-full h-96 font-mono" field={@form[:notes]} label={gettext("Notes")} />
<:actions> <:actions>
<div class="w-full md:flex md:justify-center"> <div class="w-full md:flex md:justify-center">
<.button <.button