johanneswuerbach / backstage-plugin-techdocs-addon-mermaid

Backstage TechDocs Mermaid Addon
MIT License
46 stars 20 forks source link

Timeline sections not properly rendered #36

Closed Nereis closed 1 year ago

Nereis commented 1 year ago

Timeline sections which should cover all the child with his width just cover the first one

Current Behavior image

Expected Behavior https://mermaid.live/edit#pako:eNqtT7sKAjEQ_JVl6xO82G2n-ANim2ZJVg1eEsltiuO4fzciB1rZONW8GJgZXfaChBqiDCGJTdAwitOQE5it2W1O_dsE2K8EgKD_FGYVh1-V72nzr2nsMEqJHHw7M79Ci3qTKBapUc_lbtGmpfW4aj5PySFpqdJhfXhWOQa-Fo5IFx5GWZ7bzEdJ

image

How to reproduce

# Roadmap 2023

```mermaid
timeline
    section 2023-Q1
      A
        : 1
        : 2
      B
        : 1
        : 2
    section 2023-Q2
      A
        : 1
        : 2
      B
        : 1
        : 2
\```

Versions:

MkDocs:

{...}
plugins:
  - techdocs-core

nav:
{...}

Thanks for looking !

johanneswuerbach commented 1 year ago

Fix released in https://github.com/johanneswuerbach/backstage-plugin-techdocs-addon-mermaid/releases/tag/v0.9.0

Nereis commented 1 year ago

It works like a charm. Thank you for the quick fix!