fix: Update Textarea component to have full height (#3069)
feat: Update Textarea component to have full height The Textarea component was updated to have a full height by adding the "h-full" class to the parent div. This ensures that the textarea takes up the entire available vertical space.
This commit is contained in:
parent
747a1848d4
commit
c39540c7d8
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ export interface TextareaProps
|
||||||
const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(
|
const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(
|
||||||
({ className, password, editNode, ...props }, ref) => {
|
({ className, password, editNode, ...props }, ref) => {
|
||||||
return (
|
return (
|
||||||
<div className="w-full">
|
<div className="h-full w-full">
|
||||||
<textarea
|
<textarea
|
||||||
className={cn(
|
className={cn(
|
||||||
"nopan nodelete nodrag noflow textarea-primary",
|
"nopan nodelete nodrag noflow textarea-primary",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue