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

Specify individual widget height - combineWidgets #67

Open
ferguskeatinge opened this issue Jun 30, 2021 · 0 comments
Open

Specify individual widget height - combineWidgets #67

ferguskeatinge opened this issue Jun 30, 2021 · 0 comments

Comments

@ferguskeatinge
Copy link

I have two leaflet map widgets that i want to combine into a single widget, where i want both widgets height to be 95% of the vh

Specifying the height in combineWidgets to 200vh (for two widgets) works well, placing the maps one on top of the other where the user has to scroll down to the next map, but i want each map to be 95% height.

Right now the div style of each individual widget defaults to 100% and changing the height when creating the widget with leaflet does nothing to change the height when they are combined.

Is there a way to do this? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant