[Maps] set mapbox Popup maxWidth (#45253)

This commit is contained in:
Nathan Reese 2019-09-12 08:37:07 -06:00 committed by GitHub
parent 43c033d942
commit 24ad526e6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,7 +59,7 @@ export class MBMapContainer extends React.Component {
return {
prevLayerList: nextLayerList,
hasSyncedLayerList: false,
maxWidth: '260px', // width of table columns max-widths plus all padding
};
}
@ -73,6 +73,7 @@ export class MBMapContainer extends React.Component {
this._mbPopup = new mapboxgl.Popup({
closeButton: false,
closeOnClick: false,
maxWidth: '260px', // width of table columns max-widths plus all padding
});
this._mbDrawControl = new MapboxDraw({
displayControlsDefault: false,