Skip to content

Commit

Permalink
fix: autosize min-height on task steps & chatbar (#1815)
Browse files Browse the repository at this point in the history
* fix: autosize min-height on task steps & chatbar

* rows instead
  • Loading branch information
ivyjeong13 authored Feb 21, 2025
1 parent ff30dff commit b841604
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/admin/app/components/chat/Chatbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function Chatbar({ className }: ChatbarProps) {
}
}}
maxHeight={200}
minHeight={0}
rows={1}
onChange={(e) => setInput(e.target.value)}
placeholder="Type your message..."
bottomContent={
Expand Down
2 changes: 1 addition & 1 deletion ui/admin/app/components/task/steps/StepBase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const StepBase = memo(function StepBase({
onChange={(e) => fieldConfig.onChange(e.target.value)}
placeholder={fieldConfig.placeholder}
maxHeight={100}
minHeight={0}
rows={1}
className="flex-grow bg-background"
onClick={(e) => e.stopPropagation()}
/>
Expand Down

0 comments on commit b841604

Please sign in to comment.