Timeline does not honor width
configuration
#5858
Labels
Contributor needed
Graph: Block
Status: Approved
Is ready to be worked on
Type: Bug / Error
Something isn't working or is incorrect
Description
When I try to alter the width of the nodes in the timeline diagram with the
width
configuration, the width configuration is not applied.It appears to be hardcoded here:
https://github.com/mermaid-js/mermaid/blob/develop/packages/mermaid/src/diagrams/timeline/timelineRenderer.ts#L332
Steps to reproduce
Create a timeline
Configure the width
Feel sad
Screenshots
No response
Code Sample
timeline
title Sample Timeline
Setup
Live Editor
Chrome
Suggested Solutions
https://github.com/mermaid-js/mermaid/blob/develop/packages/mermaid/src/diagrams/timeline/timelineRenderer.ts#L332
This should probably be
conf.width
. . . orconf.timeline.width
.Additional Context
No response
The text was updated successfully, but these errors were encountered: