Skip to content

Commit 85d0e24

Browse files
authored
[Maps] set mapbox Popup maxWidth (#45253) (#45526)
1 parent 65c5a5d commit 85d0e24

File tree

1 file changed

+2
-1
lines changed
  • x-pack/legacy/plugins/maps/public/connected_components/map/mb

1 file changed

+2
-1
lines changed

x-pack/legacy/plugins/maps/public/connected_components/map/mb/view.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export class MBMapContainer extends React.Component {
5959
return {
6060
prevLayerList: nextLayerList,
6161
hasSyncedLayerList: false,
62-
maxWidth: '260px', // width of table columns max-widths plus all padding
62+
6363
};
6464
}
6565

@@ -73,6 +73,7 @@ export class MBMapContainer extends React.Component {
7373
this._mbPopup = new mapboxgl.Popup({
7474
closeButton: false,
7575
closeOnClick: false,
76+
maxWidth: '260px', // width of table columns max-widths plus all padding
7677
});
7778
this._mbDrawControl = new MapboxDraw({
7879
displayControlsDefault: false,

0 commit comments

Comments
 (0)