mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-10-05 23:32:14 +00:00
fix: Overflow in terminal input (#544)
This commit is contained in:
parent
425f588be4
commit
bd9e1969b3
1 changed files with 2 additions and 2 deletions
|
|
@ -200,14 +200,14 @@ export function TerminalInput({
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Multiline Input */}
|
{/* Multiline Input */}
|
||||||
<div className="mt-2 flex gap-2">
|
<div className="my-2 flex gap-2">
|
||||||
<Textarea
|
<Textarea
|
||||||
value={message}
|
value={message}
|
||||||
onChange={(e) => setMessage(e.target.value)}
|
onChange={(e) => setMessage(e.target.value)}
|
||||||
onKeyDown={handleKeyPress}
|
onKeyDown={handleKeyPress}
|
||||||
placeholder={placeholder}
|
placeholder={placeholder}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
className="text-foreground placeholder:text-muted-foreground min-h-[80px] flex-1 resize-none border-none bg-transparent p-0 font-mono text-xs shadow-none focus-visible:ring-0 focus-visible:ring-offset-0"
|
className="text-foreground placeholder:text-muted-foreground max-h-[50vh] min-h-[80px] flex-1 resize-none border-none bg-transparent p-0 font-mono text-xs shadow-none focus-visible:ring-0 focus-visible:ring-offset-0"
|
||||||
rows={6}
|
rows={6}
|
||||||
onPaste={onPaste}
|
onPaste={onPaste}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue