Fixes 'How to use Additional Inputs as Variables' dialog in workflows (#4773)
* add i18n translations and fix dialog width and height * fix typo Co-authored-by: CarinaWolli <[email protected]> Co-authored-by: Bailey Pumfleet <[email protected]>
This commit is contained in:
2 files changed
+11
-6
No files matched your search
@@ -481,15 +481,15 @@ export default function WorkflowStepContainer(props: WorkflowStepProps) {
|
||||
</ConfirmationDialogContent>
|
||||
</Dialog>
|
||||
<Dialog open={isAdditionalInputsDialogOpen} onOpenChange={setIsAdditionalInputsDialogOpen}>
|
||||
<DialogContent useOwnActionButtons type="creation" className="sm:max-w-[600px] md:h-[570px]">
|
||||
<div className="-m-3 h-[440px] overflow-x-hidden overflow-y-scroll sm:m-0">
|
||||
<DialogContent useOwnActionButtons type="creation" className="sm:max-w-[610px] md:h-[570px]">
|
||||
<div className="-m-3 h-[430px] overflow-x-hidden overflow-y-scroll sm:m-0">
|
||||
<h1 className="w-full text-xl font-semibold ">{t("how_additional_inputs_as_variables")}</h1>
|
||||
<div className="mt-7 rounded-md bg-gray-50 p-3 sm:p-5">
|
||||
<div className="mb-7 mt-7 rounded-md bg-gray-50 p-3 sm:p-4">
|
||||
<p className="test-sm font-medium">{t("format")}</p>
|
||||
<ul className="mt-2 ml-5 list-disc text-gray-900">
|
||||
<li>{t("uppercase_for_letters")}</li>
|
||||
<li>{t("replace_whitespaces_underscores")}</li>
|
||||
<li>{t("ingore_special_characters")}</li>
|
||||
<li>{t("ignore_special_characters")}</li>
|
||||
</ul>
|
||||
<div className="mt-6">
|
||||
<p className="test-sm w-full font-medium">{t("example_1")}</p>
|
||||
@@ -526,7 +526,7 @@ export default function WorkflowStepContainer(props: WorkflowStepProps) {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="mt-3 -mb-7 flex flex-row-reverse gap-x-2">
|
||||
<div className="flex flex-row-reverse">
|
||||
<DialogClose asChild>
|
||||
<Button color="primary" type="button">
|
||||
{t("close")}
|
||||
|
||||
Reference in new issue
Block a user