Form Editor v2.5 (#599)

* Form Editor v2.5

* Remove log debug

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
Chirag Chhatrala
2024-10-23 14:04:51 +05:30
committed by GitHub
parent 97c4b9db5b
commit 8a1282f4b0
23 changed files with 169 additions and 87 deletions

View File

@@ -53,7 +53,7 @@
<div
v-if="field.type == 'nf-text'"
class="border-t py-2"
class="border-t mt-4"
>
<rich-text-area-input
class="mx-4"
@@ -85,7 +85,7 @@
<div
v-else-if="field.type == 'nf-image'"
class="border-t py-2"
class="border-t mt-4"
>
<image-input
name="image_block"

View File

@@ -7,7 +7,7 @@
:class="[
option.class ? (typeof option.class === 'function' ? option.class(isSelected(option.name)) : option.class) : {},
{
'border-blue-500': isSelected(option.name),
'border-blue-500 bg-blue-50': isSelected(option.name),
'hover:bg-gray-100 border-gray-300': !isSelected(option.name)
}
]"