Fix: Adjust create function modal inputs (#2555)

This commit is contained in:
andrewwallacespeckle 2024-08-01 06:27:20 +01:00 коммит произвёл GitHub
Родитель 170a44b9ec
Коммит 662a4a09e9
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
4 изменённых файлов: 7 добавлений и 4 удалений

Просмотреть файл

@ -7,7 +7,7 @@
:target="externalMoreInfo ? '_blank' : undefined" :target="externalMoreInfo ? '_blank' : undefined"
> >
<div <div
class="px-4 py-4 flex flex-col gap-3 rounded-lg border border-outline-3 bg-foundation relative" class="px-4 py-4 flex flex-col gap-3 rounded-lg border border-outline-3 bg-foundation relative h-full"
> >
<div class="flex gap-3 items-center" :class="{ 'w-4/5': hasLabel }"> <div class="flex gap-3 items-center" :class="{ 'w-4/5': hasLabel }">
<AutomateFunctionLogo :logo="fn.logo" /> <AutomateFunctionLogo :logo="fn.logo" />

Просмотреть файл

@ -15,6 +15,7 @@
name="name" name="name"
label="Name" label="Name"
placeholder="Function Name" placeholder="Function Name"
color="foundation"
help="This will be used as the function's display name and also as the name of the Git repository." help="This will be used as the function's display name and also as the name of the Git repository."
show-label show-label
show-required show-required
@ -44,6 +45,7 @@
/> />
<FormTags <FormTags
name="tags" name="tags"
color="foundation"
label="Tags" label="Tags"
show-label show-label
show-clear show-clear

Просмотреть файл

@ -25,6 +25,7 @@
v-model="value" v-model="value"
textarea-classes="font-mono" textarea-classes="font-mono"
:name="name" :name="name"
color="foundation"
:label="label" :label="label"
:show-label="false" :show-label="false"
:show-required="showRequired" :show-required="showRequired"

Просмотреть файл

@ -76,7 +76,7 @@
class="relative px-0.5" class="relative px-0.5"
> >
<ComboboxOptions <ComboboxOptions
class="absolute top-1 max-h-60 w-full overflow-auto simple-scrollbar rounded-md bg-foundation-2 py-1 shadow label label--light outline outline-2 outline-primary-muted focus:outline-none" class="absolute top-1 max-h-60 w-full overflow-auto simple-scrollbar rounded-md bg-foundation py-1 shadow label label--light outline outline-2 outline-primary-muted focus:outline-none"
> >
<div <div
v-if="isAutocompleteLoading" v-if="isAutocompleteLoading"
@ -273,9 +273,9 @@ const inputWrapperClasses = computed(() => {
classParts.push('ring-1 ring-danger') classParts.push('ring-1 ring-danger')
} }
} else { } else {
classParts.push('border-2 border-transparent') classParts.push('border border-outline-3')
if (isInputFocused.value) { if (isInputFocused.value) {
classParts.push('ring-2 ring-outline-2') classParts.push('ring-1 ring-outline-3')
} }
} }