|
|
@ -694,9 +694,9 @@ useEventListener( |
|
|
|
@submit="handleOnUploadImage" |
|
|
|
@submit="handleOnUploadImage" |
|
|
|
></GeneralImageCropper> |
|
|
|
></GeneralImageCropper> |
|
|
|
<!-- cover image --> |
|
|
|
<!-- cover image --> |
|
|
|
<div class="relative max-w-[max(33%,688px)] mx-auto"> |
|
|
|
<div class="group relative max-w-[max(33%,688px)] mx-auto"> |
|
|
|
<GeneralFormBanner :banner-image-url="formViewData.banner_image_url"/> |
|
|
|
<GeneralFormBanner :banner-image-url="formViewData.banner_image_url"/> |
|
|
|
<div class="absolute bottom-0 right-0"> |
|
|
|
<div class="absolute bottom-0 right-0 hidden group-hover:block"> |
|
|
|
<div class="flex items-center space-x-1 m-2"> |
|
|
|
<div class="flex items-center space-x-1 m-2"> |
|
|
|
<NcButton |
|
|
|
<NcButton |
|
|
|
type="secondary" |
|
|
|
type="secondary" |
|
|
@ -750,8 +750,8 @@ useEventListener( |
|
|
|
<!-- Form logo --> |
|
|
|
<!-- Form logo --> |
|
|
|
<div class="mb-4"> |
|
|
|
<div class="mb-4"> |
|
|
|
<div |
|
|
|
<div |
|
|
|
class="nc-form-logo-wrapper mx-6 group relative rounded-xl inline-block h-56px max-w-189px overflow-hidden" |
|
|
|
class="nc-form-logo-wrapper mx-6 group relative rounded-xl inline-block h-56px overflow-hidden" |
|
|
|
:class="formViewData.logo_url ? 'hover:(w-full bg-gray-100)' : 'bg-gray-100'" |
|
|
|
:class="formViewData.logo_url ? 'hover:(w-full bg-gray-100) max-w-189px' : 'w-full bg-gray-100 max-w-148px'" |
|
|
|
style="transition: all 0.3s ease-in" |
|
|
|
style="transition: all 0.3s ease-in" |
|
|
|
> |
|
|
|
> |
|
|
|
<LazyCellAttachmentImage |
|
|
|
<LazyCellAttachmentImage |
|
|
@ -761,7 +761,7 @@ useEventListener( |
|
|
|
/> |
|
|
|
/> |
|
|
|
<div |
|
|
|
<div |
|
|
|
class="items-center space-x-1 flex-nowrap m-3" |
|
|
|
class="items-center space-x-1 flex-nowrap m-3" |
|
|
|
:class="formViewData.logo_url ? 'hidden absolute top-0 left-0 group-hover:flex' : 'flex'" |
|
|
|
:class="'hidden absolute top-0 left-0 group-hover:flex'" |
|
|
|
> |
|
|
|
> |
|
|
|
<NcButton |
|
|
|
<NcButton |
|
|
|
v-if="isEditable" |
|
|
|
v-if="isEditable" |
|
|
|