fix padding (#4673)
Co-authored-by: gitstart <gitstart@users.noreply.github.com> Co-authored-by: gitstart <gitstart@gitstart.com> Co-authored-by: Nitesh Singh <nitesh.singh@gitstart.dev> Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com> Co-authored-by: Matheus Muniz <matheusmuniz100@hotmail.com> Co-authored-by: Grace Nshokano <grace.devolop@gmail.com> Co-authored-by: Matheus Muniz <87545749+matheusmuniz03@users.noreply.github.com> Co-authored-by: Olusanya Timothy <48022904+seunexplicit@users.noreply.github.com> Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com> Co-authored-by: CarinaWolli <wollencarina@gmail.com> Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com>pull/4744/head
parent
58dd5308ac
commit
be15affa5d
|
@ -28,11 +28,11 @@ export const AddVariablesDropdown = (props: IAddVariablesDropdown) => {
|
|||
|
||||
return (
|
||||
<Dropdown>
|
||||
<DropdownMenuTrigger className="px-0 py-0 focus:bg-transparent focus:ring-transparent focus:ring-offset-0 ">
|
||||
<Label>
|
||||
<div className="flex">
|
||||
<DropdownMenuTrigger className="focus:bg-transparent focus:ring-transparent focus:ring-offset-0 ">
|
||||
<Label className="mb-0">
|
||||
<div className="flex items-center">
|
||||
{t("add_variable")}
|
||||
<Icon.FiChevronDown className="mt-[1.8px] ml-1 h-4 w-4" />
|
||||
<Icon.FiChevronDown className="ml-1 h-4 w-4" />
|
||||
</div>
|
||||
</Label>
|
||||
</DropdownMenuTrigger>
|
||||
|
|
|
@ -327,11 +327,11 @@ export default function WorkflowStepContainer(props: WorkflowStepProps) {
|
|||
/>
|
||||
</div>
|
||||
{isCustomReminderBodyNeeded && (
|
||||
<div className="mt-2 rounded-md bg-gray-50 p-2 md:p-4">
|
||||
<div className="mt-2 rounded-md bg-gray-50 p-4 pt-2 md:p-6 md:pt-4">
|
||||
{isEmailSubjectNeeded && (
|
||||
<div className="mb-5">
|
||||
<div className="flex">
|
||||
<Label className="flex-none">{t("subject")}</Label>
|
||||
<div className="mb-2 flex items-center">
|
||||
<Label className="mb-0 flex-none">{t("subject")}</Label>
|
||||
<div className="flex-grow text-right">
|
||||
<AddVariablesDropdown addVariable={addVariable} isEmailSubject={true} />
|
||||
</div>
|
||||
|
@ -353,8 +353,8 @@ export default function WorkflowStepContainer(props: WorkflowStepProps) {
|
|||
)}
|
||||
</div>
|
||||
)}
|
||||
<div className="flex">
|
||||
<Label className="flex-none">
|
||||
<div className="mb-2 flex items-center">
|
||||
<Label className="mb-0 flex-none">
|
||||
{isEmailSubjectNeeded ? t("email_body") : t("text_message")}
|
||||
</Label>
|
||||
<div className="flex-grow text-right">
|
||||
|
|
Loading…
Reference in New Issue