Allinea l'altezza di input, select e date nei form a un'unica misura.
input[type="date"] resta più alto di un input di testo anche con appearance-none: h-10 esplicito su classiInput allinea tutti i campi. La textarea note usa h-auto per non perdere le due righe. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -180,7 +180,7 @@ function GestioneEventi() {
|
||||
maxLength={300}
|
||||
rows={2}
|
||||
onChange={(e) => aggiorna({ note: e.target.value })}
|
||||
className={classiInput}
|
||||
className={cn(classiInput, "h-auto")}
|
||||
/>
|
||||
</Campo>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user