Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mermaid Gantt doesnt scale with page width #6

Closed
statixVFX opened this issue Jul 9, 2022 · 1 comment
Closed

Mermaid Gantt doesnt scale with page width #6

statixVFX opened this issue Jul 9, 2022 · 1 comment
Labels
enhancement New feature or request investigating

Comments

@statixVFX
Copy link

Hi,

When using logseq 0.7.5 and Diagrams as Code 0.0.13 and using standard mermaid syntax like
gantt title A Gantt Diagram dateFormat YYYY-MM-DD section Section A task :a1, 2014-01-01, 30d Another task :after a1 , 200d section Another Task in sec :2014-01-12 , 12d another task : 24d

It doesnt scale with the page width, its always to narrow for anything meaningful to be used in a timeline.
Screenshot 2022-07-09 at 16 32 03

@npgrosser npgrosser added the enhancement New feature or request label Sep 13, 2022
@npgrosser
Copy link
Owner

npgrosser commented Feb 4, 2023

Due to the way the Logseq plugin API allows things to be rendered in a block, I'm not sure if this is even possible. Custom rendered content and the rest of the HTML document are relatively well isolated.

I'll take a closer look at this at some point. But at the moment, it's not super high on my priority list.
Nonetheless, if anyone has an idea or knows of a Logseq plugin that does exactly that (using the full width of the block to render custom content), please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request investigating
Projects
None yet
Development

No branches or pull requests

2 participants