style: properties panel text area
This commit is contained in:
@ -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 })
|
||||||
}
|
}
|
||||||
|
@ -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}
|
||||||
|
Reference in New Issue
Block a user