🐛 fix(dialog.tsx): add missing gap-3 utility class to DialogContent component to fix layout issue

🐛 fix(EditNodeModal/index.tsx): remove unnecessary padding-bottom class from Parameters text span to fix layout issue
This commit is contained in:
Cristhian Zanforlin Lousa 2023-07-03 10:25:47 -03:00
commit f3ae913891
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@ const DialogContent = React.forwardRef<
<DialogPrimitive.Content
ref={ref}
className={cn(
"fixed z-50 grid w-full rounded-b-lg border bg-background p-6 shadow-lg animate-in data-[state=open]:fade-in-90 data-[state=open]:slide-in-from-bottom-10 sm:max-w-lg sm:rounded-lg sm:zoom-in-90 data-[state=open]:sm:slide-in-from-bottom-0",
"fixed gap-3 z-50 grid w-full rounded-b-lg border bg-background p-6 shadow-lg animate-in data-[state=open]:fade-in-90 data-[state=open]:slide-in-from-bottom-10 sm:max-w-lg sm:rounded-lg sm:zoom-in-90 data-[state=open]:sm:slide-in-from-bottom-0",
className
)}
{...props}

View file

@ -91,7 +91,7 @@ export default function EditNodeModal({ data }: { data: NodeDataType }) {
{data.node?.description}
<div className="flex pt-3">
<Variable className="h-5 w-5 stroke-2 pe-1 text-muted-foreground "></Variable>
<span className="text-sm font-semibold text-primary pb-3">
<span className="text-sm font-semibold text-primary">
Parameters
</span>
</div>