From ec9add9a5135dd9ba1a861ea5956330294c72f4f Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Sun, 11 Aug 2024 13:43:04 +0530 Subject: [PATCH] Fix automation edit cards height. Scroll when card longer than screen --- src/interface/web/app/automations/page.tsx | 24 ++++++++++------------ 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/src/interface/web/app/automations/page.tsx b/src/interface/web/app/automations/page.tsx index e3b2c96a..58c18b64 100644 --- a/src/interface/web/app/automations/page.tsx +++ b/src/interface/web/app/automations/page.tsx @@ -65,7 +65,7 @@ import { useAuthenticatedData, UserProfile } from "../common/auth"; import LoginPrompt from "../components/loginPrompt/loginPrompt"; import { useToast } from "@/components/ui/use-toast"; import { ToastAction } from "@/components/ui/toast"; -import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"; +import { Alert, AlertDescription } from "@/components/ui/alert"; import SidePanel from "../components/sidePanel/chatHistorySidePanel"; import { Drawer, DrawerContent, DrawerTitle, DrawerTrigger } from "@/components/ui/drawer"; @@ -261,7 +261,6 @@ function AutomationsCard(props: AutomationsCardProps) { const automation = props.automation; const [timeRecurrence, setTimeRecurrence] = useState(""); - const [intervalString, setIntervalString] = useState(""); useEffect(() => { @@ -632,10 +631,9 @@ function AutomationModificationForm(props: AutomationModificationFormProps) { props.onSubmit(values); setIsSaving(true); })} - className="space-y-8" + className="space-y-6" > - - Setup + Emails will be sent to this address. Timezone and location data will be used to schedule automations. @@ -648,7 +646,7 @@ function AutomationModificationForm(props: AutomationModificationFormProps) { control={props.form.control} name="subject" render={({ field }) => ( - + Subject This is the subject of the email you will receive. @@ -672,7 +670,7 @@ function AutomationModificationForm(props: AutomationModificationFormProps) { control={props.form.control} name="everyBlah" render={({ field }) => ( - + Frequency How often should this automation run?