Limit the snippet pre height

This commit is contained in:
Elio Struyf
2022-04-28 16:00:01 +02:00
parent 67291f0cbe
commit 48f855144e
2 changed files with 3 additions and 2 deletions
@@ -36,8 +36,9 @@ export const SnippetInputField: React.FunctionComponent<ISnippetInputFieldProps>
<textarea
name={field.name}
value={field.value || ""}
className="focus:outline-none block w-full sm:text-sm border-gray-300 text-vulcan-500"
className="focus:outline-none block w-full sm:text-sm border-gray-300 text-vulcan-500 h-auto"
onChange={(e) => onValueChange(field, e.currentTarget.value)}
rows={4}
/>
)
}