🐛 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:
parent
ece63913b0
commit
f3ae913891
2 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ const DialogContent = React.forwardRef<
|
||||||
<DialogPrimitive.Content
|
<DialogPrimitive.Content
|
||||||
ref={ref}
|
ref={ref}
|
||||||
className={cn(
|
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
|
className
|
||||||
)}
|
)}
|
||||||
{...props}
|
{...props}
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,7 @@ export default function EditNodeModal({ data }: { data: NodeDataType }) {
|
||||||
{data.node?.description}
|
{data.node?.description}
|
||||||
<div className="flex pt-3">
|
<div className="flex pt-3">
|
||||||
<Variable className="h-5 w-5 stroke-2 pe-1 text-muted-foreground "></Variable>
|
<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
|
Parameters
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue