style: properties panel text area

This commit is contained in:
Maze Winther
2025-07-10 19:44:24 +02:00
parent 2fe67febd6
commit 4d0c3268cc
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ export function PropertiesPanel() {
<Textarea <Textarea
placeholder="Name" placeholder="Name"
defaultValue={element.content} defaultValue={element.content}
className="min-h-[4.5rem]" className="min-h-[4.5rem] resize-none"
onChange={(e) => onChange={(e) =>
updateTextElement(trackId, element.id, { content: e.target.value }) updateTextElement(trackId, element.id, { content: e.target.value })
} }

View File

@ -9,7 +9,7 @@ const Textarea = React.forwardRef<
return ( return (
<textarea <textarea
className={cn( className={cn(
"flex min-h-[60px] w-full rounded-md border border-input bg-background px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", "flex min-h-[60px] w-full rounded-md border border-input bg-background px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
className className
)} )}
ref={ref} ref={ref}