diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-07-10 19:44:24 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-07-10 19:44:24 +0200 |
| commit | 4d0c3268ccd15f0507f254265e226aa99df6a045 (patch) | |
| tree | ce199247d1e1c439bee13f375735038f839b16d3 /apps/web/src/components | |
| parent | 2fe67febd6bb1d027bf5ca79c3b7e612649ae21c (diff) | |
| download | opencut-4d0c3268ccd15f0507f254265e226aa99df6a045.tar.gz | |
style: properties panel text area
Diffstat (limited to 'apps/web/src/components')
| -rw-r--r-- | apps/web/src/components/editor/properties-panel.tsx | 2 | ||||
| -rw-r--r-- | apps/web/src/components/ui/textarea.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/src/components/editor/properties-panel.tsx b/apps/web/src/components/editor/properties-panel.tsx index 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() { <Textarea placeholder="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.tsx index 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 ( <textarea 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 )} ref={ref} |
