Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

Scrollbars appear when area too small #8

Open
bartbutenaers opened this issue Aug 17, 2019 · 3 comments
Open

Scrollbars appear when area too small #8

bartbutenaers opened this issue Aug 17, 2019 · 3 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@bartbutenaers
Copy link
Owner

When the area specified in the dashboard is too small to fit the entire drawing, scrollbars will appear.

This behaviour should somehow be configurable:

  • scrollbars
  • fit available area
  • ...

Don't know how to solve this at the moment.

@bartbutenaers bartbutenaers added bug Something isn't working help wanted Extra attention is needed labels Aug 17, 2019
@bartbutenaers bartbutenaers self-assigned this Aug 17, 2019
@Ashfaak
Copy link

Ashfaak commented Feb 25, 2021

You could try setting overflow css properties: <body style="overflow: hidden">

@bartbutenaers
Copy link
Owner Author

bartbutenaers commented Feb 25, 2021

Hi @Ashfaak,
Thanks for the tip!!!
I'm not sure whether the scrollbars still appear with the latest version (released about 4 days ago), because the css width and height are now set to 100%.
Did you respond here because you had an issue with the size in that version?

@Ashfaak
Copy link

Ashfaak commented Feb 25, 2021

Hi @bartbutenaers

I had this issue many months ago when I just started using this node. I worked around it by resizing the svg. Today I was trying to get around a paywall and found they used overflow: hidden to hide the scrollbars and remembered this "help wanted" issue. Glad you've got it sorted. Will update and test it out when I get a chance.

Cheers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants