feat(ui): improved generator text area styling

This commit is contained in:
psychedelicious
2025-01-17 11:07:20 +11:00
parent bd477ded2e
commit 298abab883
2 changed files with 16 additions and 2 deletions

View File

@@ -33,7 +33,14 @@ export const FloatGeneratorParseStringSettings = memo(({ state, onChange }: Floa
</FormControl>
<FormControl orientation="vertical">
<FormLabel>{t('common.input')}</FormLabel>
<Textarea value={state.input} onChange={onChangeInput} rows={7} />
<Textarea
className="nowheel nodrag nopan"
value={state.input}
onChange={onChangeInput}
p={2}
resize="none"
rows={5}
/>
</FormControl>
</Flex>
);

View File

@@ -34,7 +34,14 @@ export const IntegerGeneratorParseStringSettings = memo(
</FormControl>
<FormControl orientation="vertical">
<FormLabel>{t('common.input')}</FormLabel>
<Textarea value={state.input} onChange={onChangeInput} rows={7} />
<Textarea
className="nowheel nodrag nopan"
value={state.input}
onChange={onChangeInput}
p={2}
resize="none"
rows={5}
/>
</FormControl>
</Flex>
);