diff --git a/apps/formbricks-com/app/docs/api/management/surveys/page.mdx b/apps/formbricks-com/app/docs/api/management/surveys/page.mdx index 00108619e7..5b166fdd46 100644 --- a/apps/formbricks-com/app/docs/api/management/surveys/page.mdx +++ b/apps/formbricks-com/app/docs/api/management/surveys/page.mdx @@ -91,7 +91,7 @@ This set of API can be used to "destination": "end" } ], - "html": "

We would love to understand your user experience better. Sharing your insight helps a lot!

", + "html": "

We would love to understand your user experience better. Sharing your insight helps a lot.

", "buttonExternal": false, "dismissButtonLabel": "No, thanks." }, diff --git a/apps/web/app/(app)/environments/[environmentId]/surveys/templates/templates.ts b/apps/web/app/(app)/environments/[environmentId]/surveys/templates/templates.ts index 2c23b72fda..3d7af09bd8 100644 --- a/apps/web/app/(app)/environments/[environmentId]/surveys/templates/templates.ts +++ b/apps/web/app/(app)/environments/[environmentId]/surveys/templates/templates.ts @@ -357,7 +357,7 @@ export const templates: TTemplate[] = [ id: createId(), html: { default: - '

We would love to understand your user experience better. Sharing your insight helps a lot!

', + '

We would love to understand your user experience better. Sharing your insight helps a lot.

', }, type: TSurveyQuestionType.CTA, logic: [{ condition: "skipped", destination: "end" }], diff --git a/apps/web/app/lib/questions.ts b/apps/web/app/lib/questions.ts index 271f19b007..b2a87e2168 100644 --- a/apps/web/app/lib/questions.ts +++ b/apps/web/app/lib/questions.ts @@ -123,7 +123,10 @@ export const questionTypes: TSurveyQuestionType[] = [ icon: MousePointerClickIcon, preset: { headline: { default: "You are one of our power users!" }, - html: { default: "" }, + html: { + default: + '

We would love to understand your user experience better. Sharing your insight helps a lot.

', + }, buttonLabel: { default: "Book interview" }, buttonExternal: false, dismissButtonLabel: "Skip", diff --git a/packages/surveys/src/components/general/FileInput.tsx b/packages/surveys/src/components/general/FileInput.tsx index 463c9495e3..071113cfbd 100644 --- a/packages/surveys/src/components/general/FileInput.tsx +++ b/packages/surveys/src/components/general/FileInput.tsx @@ -202,23 +202,24 @@ export default function FileInput({ }, [allowMultipleFiles, fileUrls, isUploading]); return ( -
+
{fileUrls && fileUrls?.map((file, index) => { const fileName = getOriginalFileNameFromUrl(file); return ( -
+
-
+
handleDeleteFile(index, e)}> @@ -237,11 +238,11 @@ export default function FileInput({ stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-file" - className="h-6 text-slate-500"> + className="text-heading h-6"> -

+

{fileName}

@@ -262,7 +263,7 @@ export default function FileInput({