docs: fix tooltip placement and width in workflows reference (#8691)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-08-21 17:49:24 +03:00
1 parent 64283d0e83
commit f3e4b7dfd0
1 file changed
+2 -1
@@ -17,7 +17,7 @@ export const WorkflowDiagramStepNode = ({ step }: WorkflowDiagramNodeProps) => {
return ( return (
<Tooltip <Tooltip
tooltipClassName="!text-left max-w-full text-pretty overflow-scroll" tooltipClassName="!text-left max-w-[300px] text-pretty overflow-scroll"
tooltipChildren={ tooltipChildren={
<> <>
<h4 className="text-compact-x-small-plus">{step.name}</h4> <h4 className="text-compact-x-small-plus">{step.name}</h4>
@@ -38,6 +38,7 @@ export const WorkflowDiagramStepNode = ({ step }: WorkflowDiagramNodeProps) => {
</> </>
} }
clickable={true} clickable={true}
place="right"
> >
<Link <Link
href={step.link || `#${step.name}`} href={step.link || `#${step.name}`}