Skip to content

Commit ee4715b

Browse files
authored
[sppm-324] Milestone tooltip is off screen if milestone name is long (#24567)
Configure timeline tooltip overflow method to cap
1 parent aa5cde1 commit ee4715b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/app/shared/components/project-timeline-graph/project-timeline-graph.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export class ProjectTimelineGraphComponent implements AfterViewInit, OnDestroy {
150150
zoomMin: 7 * 24 * 60 * 60 * 1000, // 7 days minimum zoom
151151
zoomMax: 50 * 365 * 24 * 60 * 60 * 1000, // 50 years maximum zoom
152152
// eslint-disable-next-line @typescript-eslint/no-explicit-any,@typescript-eslint/no-unsafe-assignment
153-
tooltip: { template: this.tooltip.tooltipTemplate.bind(this.tooltip) } as any,
153+
tooltip: { template: this.tooltip.tooltipTemplate.bind(this.tooltip), overflowMethod: 'cap' } as any,
154154
},
155155
);
156156

0 commit comments

Comments
 (0)