The open-source CapCut alternative
style: properties panel text area
Maze Winther4d0c3268ccd1
diff --git a/apps/web/src/components/editor/properties-panel.tsx b/apps/web/src/components/editor/properties-panel.tsxindex 71e8ba1d..490afa4d 100644--- a/apps/web/src/components/editor/properties-panel.tsx+++ b/apps/web/src/components/editor/properties-panel.tsx@@ -35,7 +35,7 @@ export function PropertiesPanel() {<Textareaplaceholder="Name"defaultValue={element.content}- className="min-h-[4.5rem]"+ className="min-h-[4.5rem] resize-none"onChange={(e) =>updateTextElement(trackId, element.id, { content: e.target.value })}diff --git a/apps/web/src/components/ui/textarea.tsx b/apps/web/src/components/ui/textarea.tsxindex 69562b3f..d326743c 100644--- a/apps/web/src/components/ui/textarea.tsx+++ b/apps/web/src/components/ui/textarea.tsx@@ -9,7 +9,7 @@ const Textarea = React.forwardRef<return (<textareaclassName={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)}ref={ref}