mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
fix(builder): Prevent zooming on input field modal
- Add `nowheel` class to Textarea parent div
This commit is contained in:
@@ -62,7 +62,7 @@ const InputModalComponent: FC<ModalProps> = ({
|
||||
<h2 className="mb-4 text-center text-lg font-semibold">
|
||||
{title || "Enter input text"}
|
||||
</h2>
|
||||
<div className="relative flex-grow">
|
||||
<div className="nowheel relative flex-grow">
|
||||
<Textarea
|
||||
className="h-full min-h-[200px] w-full resize-none"
|
||||
value={tempValue}
|
||||
|
||||
Reference in New Issue
Block a user