leaflet-responsive-popup icon indicating copy to clipboard operation
leaflet-responsive-popup copied to clipboard

Responsive popup width

Open Anditinga opened this issue 2 years ago • 1 comments

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 avatar Jun 05 '22 21:06 Anditinga

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

Anditinga avatar Jun 06 '22 10:06 Anditinga