Hello everyone,
I am looking for some help to understand a behavior between desktop and mobile browsers.
If I apply the code below to a map requested from mapboxgl api the div is show with the required border-radius on desktop browsers.
However, when I am testing it on mobile ones the border-radius is not there anymore.
Is there any obvious reason why is this the case?
Or, is the mapbox-gl.css have anything to do with this particular behavior?
Thank you very much for your support.
I am looking for some help to understand a behavior between desktop and mobile browsers.
If I apply the code below to a map requested from mapboxgl api the div is show with the required border-radius on desktop browsers.
However, when I am testing it on mobile ones the border-radius is not there anymore.
Is there any obvious reason why is this the case?
Or, is the mapbox-gl.css have anything to do with this particular behavior?
HTML:
<div class="parent__container">
<div class="child__map">
<!-- request map -->
</div>
</div>
CSS:
.parent__container {
display: flex;
overflow: hidden;
border: none;
border-radius: 10px;
}
.child__map {
flex: 1;
}
Thank you very much for your support.