forked from farhoodlabs/paperclip
feat(env): collapse env value textarea to single line when unfocused
This commit is contained in:
@@ -215,7 +215,12 @@ export function EnvVarEditor({
|
||||
<>
|
||||
<Textarea
|
||||
rows={1}
|
||||
className={cn(inputClass, "flex-[3] min-h-0 resize-none shadow-none")}
|
||||
className={cn(
|
||||
inputClass,
|
||||
"flex-[3] min-h-0 resize-none shadow-none",
|
||||
"h-8 overflow-hidden field-sizing-fixed",
|
||||
"focus:h-auto focus:overflow-auto focus:field-sizing-content",
|
||||
)}
|
||||
placeholder="value"
|
||||
value={row.plainValue}
|
||||
onChange={(event) => updateRow(index, { plainValue: event.target.value })}
|
||||
|
||||
Reference in New Issue
Block a user