fix: ui of create new survey trigger (#3703)

Co-authored-by: Matti Nannt <mail@matthiasnannt.com>
This commit is contained in:
Sharad Kushwaha
2024-10-15 02:57:56 +05:30
committed by GitHub
parent 9bc5fab0ab
commit e5f17aff44
2 changed files with 2 additions and 2 deletions

View File

@@ -171,7 +171,7 @@ export const CreateNewActionTab = ({
<div>
<FormProvider {...form}>
<form onSubmit={handleSubmit(submitHandler)}>
<div className="max-h-[500px] w-full space-y-4 overflow-y-auto pr-4">
<div className="max-h-[400px] w-full space-y-4 overflow-y-auto pr-4">
<div className="w-3/5">
<FormField
name={`type`}

View File

@@ -58,7 +58,7 @@ const DialogContent = React.forwardRef<
<DialogPrimitive.Content
ref={ref}
className={cn(
"fixed left-[50%] top-[50%] z-50 translate-x-[-50%] translate-y-[-50%] transform rounded-lg bg-white text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-xl",
"fixed left-[50%] top-[50%] z-50 translate-x-[-50%] translate-y-[-50%] transform rounded-lg bg-white text-left shadow-xl transition-all sm:my-2 sm:w-full sm:max-w-xl",
`${noPadding ? "" : "px-4 pb-4 pt-5 sm:p-6"}`,
"data-[state='closed']:animate-fadeOut data-[state='open']:animate-fadeIn",
size && sizeClassName && sizeClassName[size],