From 24ad526e6c24cc6b6c1fd83283433e59b017b745 Mon Sep 17 00:00:00 2001 From: Nathan Reese Date: Thu, 12 Sep 2019 08:37:07 -0600 Subject: [PATCH] [Maps] set mapbox Popup maxWidth (#45253) --- .../plugins/maps/public/connected_components/map/mb/view.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/legacy/plugins/maps/public/connected_components/map/mb/view.js b/x-pack/legacy/plugins/maps/public/connected_components/map/mb/view.js index 63f29f38cdc2..99100111f84f 100644 --- a/x-pack/legacy/plugins/maps/public/connected_components/map/mb/view.js +++ b/x-pack/legacy/plugins/maps/public/connected_components/map/mb/view.js @@ -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,