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
GitStart 2022-09-28 21:02:07 +00:00 committed by GitHub
parent 58dd5308ac
commit be15affa5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View File

@ -28,11 +28,11 @@ export const AddVariablesDropdown = (props: IAddVariablesDropdown) => {
return ( return (
<Dropdown> <Dropdown>
<DropdownMenuTrigger className="px-0 py-0 focus:bg-transparent focus:ring-transparent focus:ring-offset-0 "> <DropdownMenuTrigger className="focus:bg-transparent focus:ring-transparent focus:ring-offset-0 ">
<Label> <Label className="mb-0">
<div className="flex"> <div className="flex items-center">
{t("add_variable")} {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> </div>
</Label> </Label>
</DropdownMenuTrigger> </DropdownMenuTrigger>

View File

@ -327,11 +327,11 @@ export default function WorkflowStepContainer(props: WorkflowStepProps) {
/> />
</div> </div>
{isCustomReminderBodyNeeded && ( {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 && ( {isEmailSubjectNeeded && (
<div className="mb-5"> <div className="mb-5">
<div className="flex"> <div className="mb-2 flex items-center">
<Label className="flex-none">{t("subject")}</Label> <Label className="mb-0 flex-none">{t("subject")}</Label>
<div className="flex-grow text-right"> <div className="flex-grow text-right">
<AddVariablesDropdown addVariable={addVariable} isEmailSubject={true} /> <AddVariablesDropdown addVariable={addVariable} isEmailSubject={true} />
</div> </div>
@ -353,8 +353,8 @@ export default function WorkflowStepContainer(props: WorkflowStepProps) {
)} )}
</div> </div>
)} )}
<div className="flex"> <div className="mb-2 flex items-center">
<Label className="flex-none"> <Label className="mb-0 flex-none">
{isEmailSubjectNeeded ? t("email_body") : t("text_message")} {isEmailSubjectNeeded ? t("email_body") : t("text_message")}
</Label> </Label>
<div className="flex-grow text-right"> <div className="flex-grow text-right">