feat(ui): restore resizable prompt boxes

The autosize proved to be unpopular. Changed back to resizable.
This commit is contained in:
psychedelicious
2024-01-11 23:44:20 +11:00
parent 98a44d7fa1
commit 59437a02c3
7 changed files with 11 additions and 20 deletions

View File

@ -24,8 +24,8 @@ export const InvAutosizeTextarea = memo(
ref={ref}
overflow="scroll"
w="100%"
resize="none"
minRows={3}
minH={20}
onPaste={stopPastePropagation}
onKeyUp={onKeyUpDown}
onKeyDown={onKeyUpDown}

View File

@ -23,6 +23,7 @@ export const InvTextarea = memo(
onPaste={stopPastePropagation}
onKeyUp={onKeyUpDown}
onKeyDown={onKeyUpDown}
minH={20}
{...rest}
/>
);