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

This commit is contained in:
Shahed Nasser
2024-08-21 17:49:24 +03:00
committed by GitHub
parent 64283d0e83
commit f3e4b7dfd0

View File

@@ -17,7 +17,7 @@ export const WorkflowDiagramStepNode = ({ step }: WorkflowDiagramNodeProps) => {
return (
<Tooltip
tooltipClassName="!text-left max-w-full text-pretty overflow-scroll"
tooltipClassName="!text-left max-w-[300px] text-pretty overflow-scroll"
tooltipChildren={
<>
<h4 className="text-compact-x-small-plus">{step.name}</h4>
@@ -38,6 +38,7 @@ export const WorkflowDiagramStepNode = ({ step }: WorkflowDiagramNodeProps) => {
</>
}
clickable={true}
place="right"
>
<Link
href={step.link || `#${step.name}`}