File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,6 +116,15 @@ function FieldLabelDisabledIcon(
116116 visualBuilderStyles ( ) [ "visual-builder__custom-tooltip--below" ]
117117 ) ;
118118
119+ const workflowAccessTooltipClass = classNames (
120+ visualBuilderStyles ( ) [ "visual-builder__custom-tooltip" ] ,
121+ showTooltipBelow &&
122+ visualBuilderStyles ( ) [ "visual-builder__custom-tooltip--below" ] ,
123+ visualBuilderStyles ( ) [
124+ "visual-builder__custom-tooltip--workflow-access"
125+ ]
126+ ) ;
127+
119128 return (
120129 < div
121130 ref = { wrapRef }
@@ -148,7 +157,7 @@ function FieldLabelDisabledIcon(
148157 </ div >
149158 ) : null }
150159 { workflowRequestUi === "request" && reason ? (
151- < div className = { customTooltipClass } >
160+ < div className = { workflowAccessTooltipClass } >
152161 < span > { reason } </ span > { " " }
153162 < span
154163 role = "button"
@@ -173,7 +182,7 @@ function FieldLabelDisabledIcon(
173182 </ div >
174183 ) : null }
175184 { workflowRequestUi === "pending" && reason ? (
176- < div className = { customTooltipClass } > { reason } </ div >
185+ < div className = { workflowAccessTooltipClass } > { reason } </ div >
177186 ) : null }
178187 < InfoIcon />
179188 </ div >
Original file line number Diff line number Diff line change @@ -639,6 +639,10 @@ export function visualBuilderStyles() {
639639 content : none;
640640 }
641641 ` ,
642+ /** Wider cap for workflow request / pending copy — must follow base `.visual-builder__custom-tooltip` so max-width wins over 200px. */
643+ "visual-builder__custom-tooltip--workflow-access" : css `
644+ max-width : 325px ;
645+ ` ,
642646 "visual-builder__empty-block" : css `
643647 width : 100% ;
644648 height : 100% ;
You can’t perform that action at this time.
0 commit comments