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

Responsive popup width #22

Open
Anditinga opened this issue Jun 5, 2022 · 1 comment
Open

Responsive popup width #22

Anditinga opened this issue Jun 5, 2022 · 1 comment

Comments

@Anditinga
Copy link

Hello

I'm having problems implementing leaflet-responsive-popup on my custom map. I already have popups defined with content - mainly text and iframes. They appear like this:

map2

When I put this content within the responsive popup I can't get it to match the width of the content, see image:

map

I've tried defining the width of the content using a div but the code of the responsive popup doesn't seem to allow for this width. Is it possible to resolve this problem?

Any help would be greatly appreciated!

Thanks very much!

@Anditinga
Copy link
Author

This is an example of how the popups appear normally, hence why I need to use the responsive popups.
map3

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