Voxel Spring Sale is now Live →

Padding added to mapbox popup container

  • Posted 3 years ago

Hi. My mapbox popup container has 10px padding added to it which gives it a white frame (image attached), which I am trying to remove so the popup look like your demos.

I have set the container padding to 0 but it has not removed the white space. I checked the css and it seems that .mapboxgl-popup-content is adding the padding and background colour to the container.

Help appreciated!

  • Images