Open ajfriesen opened 2 years ago
@llhhbc you added the MarkMap integration, any ideas? I can take a look too.
Have just seen that the height is hardcoded here: https://github.com/google/docsy/blob/main/layouts/partials/scripts.html#L16
I need to fix something else in that file, and then I'll see if I can make it more flexible.
Any update on this?
ugh, sorry, I took over the fix but didn't see this issue. The other fix is in https://github.com/google/docsy/pull/1175, but I'm also checking on something else so I'll keep this in mind now!
Short-term, I think you could change that height in the /layouts/partials/scripts.html file
Any updates on making this more flexible?
@LisaFC Sorry, the previous level was limited, and it could only be integrated, but it could not be extended.
In pull request #1365, it says:
you now can set width and height individually for each mindmap ...
But I couldn't figure out how to achieve that. Would anyone shed some light on this?
I have also left a comment under that pull request.
When using MarkMaps they are always a fixed size. We have huge whitespace below the created mindmap svg. Especially when you create markmaps with a lot of horizontal content which could easily be shown on the page. But the whitespace is not allowing that.
Is it somehow possible to increase the height of the rendered markmap?