mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-22 16:02:24 +00:00
small nits autosize and lighweight arg textarea
This commit is contained in:
@@ -34,7 +34,7 @@ export const action = (node) => {
|
||||
} else {
|
||||
node.value = '|'
|
||||
node.style.height = '0px'
|
||||
height = node.scrollHeight
|
||||
height = node.scrollHeight + 20
|
||||
node.value = ''
|
||||
}
|
||||
}
|
||||
|
||||
@@ -524,7 +524,7 @@
|
||||
}}
|
||||
use:autosize
|
||||
style="min-height: 5px;"
|
||||
class="col-span-10 {valid && error == ''
|
||||
class="col-span-10 !leading-tight !text-2xs {valid && error == ''
|
||||
? ''
|
||||
: 'border !border-red-700 !border-opacity-70 focus:!border-red-700 focus:!border-opacity-30'}"
|
||||
placeholder={defaultValue ? JSON.stringify(defaultValue, null, 4) : ''}
|
||||
|
||||
Reference in New Issue
Block a user